TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Protected Attributes

 $mockObjectManager
 
 $commandManager
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Detailed Description

Test case

Definition at line 27 of file CommandManagerTest.php.

Member Function Documentation

◆ getCommandByIdentifierReturnsCommandIfIdentifierIsEqual()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest::getCommandByIdentifierReturnsCommandIfIdentifierIsEqual ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 74 of file CommandManagerTest.php.

◆ getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest::getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 112 of file CommandManagerTest.php.

◆ getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest::getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 99 of file CommandManagerTest.php.

◆ getCommandByIdentifierWorksCaseInsensitive()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest::getCommandByIdentifierWorksCaseInsensitive ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 86 of file CommandManagerTest.php.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest::setUp ( )

Member Data Documentation

◆ $commandManager

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest::$commandManager
protected

◆ $mockObjectManager

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\CommandManagerTest::$mockObjectManager
protected

Definition at line 32 of file CommandManagerTest.php.