private function getMockCursor() { return $this->getMockBuilder('Doctrine\\MongoDB\\Cursor')->disableOriginalConstructor()->getMock(); }