public function test_get_permalink_structure_from_arguments()
{
$post_type = rand_str(12);
register_post_type($post_type, array("public" => true, "cptp_permalink_structure" => "/%year%/%monthnum%/%day%/%post_id%/"));
$this->assertEquals(CPTP_Util::get_permalink_structure($post_type), "/%year%/%monthnum%/%day%/%post_id%/");
}