public function testJobToCompareLastModified()
 {
     $title = $this->getMockBuilder('Title')->disableOriginalConstructor()->getMock();
     $title->expects($this->atLeastOnce())->method('getDBkey')->will($this->returnValue(__METHOD__));
     $title->expects($this->atLeastOnce())->method('getNamespace')->will($this->returnValue(0));
     $title->expects($this->atLeastOnce())->method('exists')->will($this->returnValue(true));
     $contentParser = $this->getMockBuilder('\\SMW\\ContentParser')->disableOriginalConstructor()->getMock();
     $contentParser->expects($this->atLeastOnce())->method('getOutput')->will($this->returnValue(new \ParserOutput()));
     $this->testEnvironment->registerObject('ContentParser', $contentParser);
     $idTable = $this->getMockBuilder('\\stdClass')->setMethods(array('hasIDFor'))->getMock();
     $store = $this->getMockBuilder('\\SMW\\SQLStore\\SQLStore')->disableOriginalConstructor()->setMethods(array('getPropertyValues', 'getObjectIds'))->getMock();
     $store->expects($this->any())->method('getObjectIds')->will($this->returnValue($idTable));
     $store->expects($this->any())->method('getPropertyValues')->will($this->returnValue(array()));
     $this->testEnvironment->registerObject('Store', $store);
     $instance = new UpdateJob($title, array('pm' => SMW_UJ_PM_CLASTMDATE));
     $instance->isEnabledJobQueue(false);
     $this->assertTrue($instance->run());
 }