‪TYPO3CMS  9.5
TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest:

Public Member Functions

 createAspectsThrowsExceptionOnMissingType ()
 
 createAspectsThrowsExceptionOnUnregisteredType ()
 
array aspectsDataProvider ()
 
 aspectsAreCreatedAndSorted (array $settings, array $expectation)
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

AspectFactory $subject
 
SiteLanguage ObjectProphecy $languageProphecy
 
Site ObjectProphecy $siteProphecy
 
string $persistedMockClass
 
string $aspectMockClass
 

Detailed Description

Definition at line 29 of file AspectFactoryTest.php.

Member Function Documentation

◆ aspectsAreCreatedAndSorted()

TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::aspectsAreCreatedAndSorted ( array  $settings,
array  $expectation 
)
Parameters
array$settings
string[]$expectation
Test:
‪@dataProvider aspectsDataProvider

Definition at line 181 of file AspectFactoryTest.php.

◆ aspectsDataProvider()

array TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::aspectsDataProvider ( )
Returns
‪array

Definition at line 114 of file AspectFactoryTest.php.

◆ createAspectsThrowsExceptionOnMissingType()

TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::createAspectsThrowsExceptionOnMissingType ( )
Test:

Definition at line 86 of file AspectFactoryTest.php.

◆ createAspectsThrowsExceptionOnUnregisteredType()

TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::createAspectsThrowsExceptionOnUnregisteredType ( )
Test:

Definition at line 100 of file AspectFactoryTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::setUp ( )
protected

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::tearDown ( )
protected

Definition at line 77 of file AspectFactoryTest.php.

Member Data Documentation

◆ $aspectMockClass

string TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::$aspectMockClass
protected

◆ $languageProphecy

SiteLanguage ObjectProphecy TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::$languageProphecy
protected

Definition at line 37 of file AspectFactoryTest.php.

◆ $persistedMockClass

string TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::$persistedMockClass
protected

◆ $siteProphecy

Site ObjectProphecy TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::$siteProphecy
protected

Definition at line 41 of file AspectFactoryTest.php.

◆ $subject

AspectFactory TYPO3\CMS\Core\Tests\Unit\Routing\Enhancer\AspectFactoryTest::$subject
protected

Definition at line 33 of file AspectFactoryTest.php.