28 $this->querySettings = $this->getMock(
'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface');
29 $this->objectManager = $this->getMock(
'TYPO3\\CMS\\Extbase\\Object\\ObjectManagerInterface');
30 $this->objectManager->expects($this->any())->method(
'get')->with(
'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface')->will($this->returnValue($this->querySettings));
37 $this->querySettings->expects($this->atLeastOnce())->method(
'setRespectStoragePage')->with(FALSE);
38 $fixture = $this->getMock(
'TYPO3\\CMS\\Belog\\Domain\\Repository\\HistoryEntryRepository', array(
'setDefaultQuerySettings'), array($this->objectManager));
39 $fixture->expects($this->once())->method(
'setDefaultQuerySettings')->with($this->querySettings);
40 $fixture->initializeObject();
initializeObjectSetsRespectStoragePidToFalse()