‪TYPO3CMS  11.5
TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest:

Public Member Functions

 encodeReturnsExpectedResult (array $parts, string $expected)
 
array encodeReturnsExpectedResultDataProvider ()
 
 decodeReturnsExpectedResult (string $typoLink, array $expected)
 
array decodeReturnsExpectedResultDataProvider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

TypoLinkCodecService $subject
 

Detailed Description

Test case

Definition at line 26 of file TypoLinkCodecServiceTest.php.

Member Function Documentation

◆ decodeReturnsExpectedResult()

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::decodeReturnsExpectedResult ( string  $typoLink,
array  $expected 
)
Test:
‪@dataProvider decodeReturnsExpectedResultDataProvider
Parameters
string$typoLink
array$expected

Definition at line 92 of file TypoLinkCodecServiceTest.php.

◆ decodeReturnsExpectedResultDataProvider()

array TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::decodeReturnsExpectedResultDataProvider ( )
Returns
‪array

Definition at line 100 of file TypoLinkCodecServiceTest.php.

◆ encodeReturnsExpectedResult()

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::encodeReturnsExpectedResult ( array  $parts,
string  $expected 
)
Test:
‪@dataProvider encodeReturnsExpectedResultDataProvider
Parameters
array$parts
string$expected

Definition at line 45 of file TypoLinkCodecServiceTest.php.

◆ encodeReturnsExpectedResultDataProvider()

array TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::encodeReturnsExpectedResultDataProvider ( )
Returns
‪array

Definition at line 53 of file TypoLinkCodecServiceTest.php.

◆ setUp()

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::setUp ( )
protected

Set up test subject

Definition at line 33 of file TypoLinkCodecServiceTest.php.

Member Data Documentation

◆ $subject

TypoLinkCodecService TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::$subject
protected

Definition at line 28 of file TypoLinkCodecServiceTest.php.