/** * @test * @author Christopher Hlubek <*****@*****.**> */ public function getDocumentsWithParameters() { $this->client->createDocument(array('name' => 'Foo'), 'abc'); $this->client->createDocument(array('name' => 'Bar'), 'def'); $this->client->createDocument(array('name' => 'Baz'), 'ghi'); $response = $this->client->getDocuments(array('abc', 'ghi'), array('include_docs' => TRUE)); $this->assertEquals(2, count($response->rows)); }