/** * @covers Paradox\Client::findOne */ public function testFindOne() { $result = $this->client->findOne($this->collectionName, "u.name in [@tsegaye, @giorgio]", array('tsegaye' => 'Tsegaye Kebede', 'giorgio' => 'Giorgio Napolitano'), "u"); $this->assertInstanceOf('Paradox\\AModel', $result, 'The result set should be an instance of Paradox\\AModel'); }