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