25 public function initializeObjectSetsRespectStoragePidToFalse() {
27 $querySettings = $this->getMock(
'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface');
28 $objectManager = $this->getMock(
'TYPO3\\CMS\\Extbase\\Object\\ObjectManagerInterface');
29 $objectManager->expects($this->any())->method(
'get')->with(
'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface')->will($this->returnValue($querySettings));
30 $GLOBALS[
'TYPO3_DB'] = $this->getMock(
'TYPO3\\CMS\\Core\\Database\\DatabaseConnection', array(), array(),
'', FALSE);
31 $querySettings->expects($this->atLeastOnce())->method(
'setRespectStoragePage')->with(FALSE);
33 $subject = $this->getMock(
'TYPO3\\CMS\\Belog\\Domain\\Repository\\LogEntryRepository', array(
'setDefaultQuerySettings'), array($objectManager));
34 $subject->expects($this->once())->method(
'setDefaultQuerySettings')->with($querySettings);
35 $subject->initializeObject();
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]