TYPO3 CMS  TYPO3_7-6
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

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

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

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

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:

Definition at line 74 of file CommandManagerTest.php.

◆ getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound()

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

Definition at line 112 of file CommandManagerTest.php.

◆ getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound()

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

Definition at line 99 of file CommandManagerTest.php.

◆ getCommandByIdentifierWorksCaseInsensitive()

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

Definition at line 86 of file CommandManagerTest.php.

◆ setUp()

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

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.