TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
MenuContentObjectFactoryTest Class Reference
Inheritance diagram for MenuContentObjectFactoryTest:
UnitTestCase BaseTestCase

Public Member Functions

 getMenuObjectByTypeThrowsExceptionForUnknownType ()
 
 getMenuObjectByTypeReturnsObjectForRegisteredMenuType ()
 
 getMenuObjectByTypeReturnsObjectWithLowercasedMenuType ()
 
 getMenuObjectByTypeReturnsInstanceOfOwnRegisteredTypeInsteadOfInternalType ()
 
 getMenuObjectByTypeReturnsInstanceOfNewRegisteredType ()
 
 registerMenuTypeThrowsExceptionIfTypeIsNotOfTypeString ()
 
 registerMenuTypeThrowsExceptionIfClassNameIsNotOfTypeString ()
 

Additional Inherited Members

- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase

Definition at line 24 of file MenuContentObjectFactoryTest.php.

Member Function Documentation

getMenuObjectByTypeReturnsInstanceOfNewRegisteredType ( )
Test:

Definition at line 69 of file MenuContentObjectFactoryTest.php.

References BaseTestCase\getUniqueId().

getMenuObjectByTypeReturnsInstanceOfOwnRegisteredTypeInsteadOfInternalType ( )
Test:

Definition at line 58 of file MenuContentObjectFactoryTest.php.

getMenuObjectByTypeReturnsObjectForRegisteredMenuType ( )
Test:

Definition at line 40 of file MenuContentObjectFactoryTest.php.

getMenuObjectByTypeReturnsObjectWithLowercasedMenuType ( )
Test:

Definition at line 49 of file MenuContentObjectFactoryTest.php.

getMenuObjectByTypeThrowsExceptionForUnknownType ( )
registerMenuTypeThrowsExceptionIfClassNameIsNotOfTypeString ( )
registerMenuTypeThrowsExceptionIfTypeIsNotOfTypeString ( )