function test_recordid2query() { $recordid = "Personal/Publications?FirstName=Steve&LastName=Hannah&" . urlencode('Publications::Title') . "=" . urlencode("Welcome to the world"); $query = Dataface_IO::recordid2query($recordid); $this->assertEquals(array('-relationship' => 'Publications', '-table' => 'Personal', 'FirstName' => '=Steve', 'LastName' => '=Hannah', 'Publications::Title' => '=Welcome to the world'), $query); }