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

Public Member Functions

 getCommandByIdentifierReturnsCommandIfIdentifierIsEqual ()
 
 getCommandByIdentifierWorksCaseInsensitive ()
 
 getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound ()
 
 getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound ()
 

Protected Member Functions

 setUp ()
 
- 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

 $mockObjectManager
 
 $commandManager
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 29 of file CommandManagerTest.php.

Member Function Documentation

getCommandByIdentifierReturnsCommandIfIdentifierIsEqual ( )
Test:

Definition at line 76 of file CommandManagerTest.php.

getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound ( )
Test:

Definition at line 114 of file CommandManagerTest.php.

getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound ( )
Test:

Definition at line 100 of file CommandManagerTest.php.

getCommandByIdentifierWorksCaseInsensitive ( )
Test:

Definition at line 88 of file CommandManagerTest.php.

setUp ( )
protected

Definition at line 41 of file CommandManagerTest.php.

References BaseTestCase\getAccessibleMock().

Member Data Documentation

$commandManager
protected

Definition at line 39 of file CommandManagerTest.php.

$mockObjectManager
protected

Definition at line 34 of file CommandManagerTest.php.