39 public function setUp() {
41 $this->contentObjectRenderer = $this->getMock(
42 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer',
46 'TYPO3\\CMS\\Frontend\\ContentObject\\CaseContentObject',
48 array($this->contentObjectRenderer)
51 $tsfe = $this->getMock(
'TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController', array(), array(),
'', FALSE);
52 $tsfe->tmpl = $this->getMock(
'TYPO3\\CMS\\Core\\TypoScript\\TemplateService');
62 'key' =>
'not existing' 64 $this->assertSame(
'', $this->subject->render($conf));
72 'key' =>
'not existing',
75 'value' =>
'expected value' 78 $this->assertSame(
'expected value', $this->subject->render($conf));
static getSingletonInstances()
renderReturnsEmptyStringIfNoKeyMatchesAndIfNoDefaultObjectIsSet()
getAccessibleMock( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
renderReturnsContentFromDefaultObjectIfKeyDoesNotExist()
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]