public function testGetAndSetDocumentManager()
 {
     $dm = $this->getMockBuilder('Doctrine\\ODM\\PHPCR\\DocumentManager')->disableOriginalConstructor()->getMock();
     $this->pq->setDocumentManager($dm);
     $this->assertEquals($dm, $this->pq->getDocumentManager());
 }