/** * @covers Paradox\Client::any */ public function testAny() { $any = $this->client->any($this->collectionName); $this->assertInstanceOf('Paradox\\AModel', $any, 'The returned object should be of type Paradox\\AModel'); $this->assertContains($any->get('name'), array('Horacio Manuel Cartes Jara', 'Tsegaye Kebede', 'Giorgio Napolitano', 'Priscah Jeptoo'), "The document retrieved does not seem to be from the collection"); }