Example #1
0
 /**
  * @covers Paradox\Client::find
  */
 public function testFind()
 {
     $result = $this->client->find($this->collectionName, "u.name in [@tsegaye, @giorgio]", array('tsegaye' => 'Tsegaye Kebede', 'giorgio' => 'Giorgio Napolitano'), "u");
     $this->assertInternalType('array', $result, "The result set should be an array");
     $this->assertCount(2, $result, "The result set should contain only 2 results");
 }