public function testSetAndGetStart() { $doc = new Document(array('field1', 'value1')); $this->query->setDocument($doc); $this->assertEquals($doc, $this->query->getDocument()); }