‪TYPO3CMS  9.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, $expected)
 
array encodeReturnsExpectedResultDataProvider ()
 
 decodeReturnsExpectedResult ($typoLink, array $expected)
 
array decodeReturnsExpectedResultDataProvider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

TypoLinkCodecService $subject
 

Detailed Description

Test case

Definition at line 23 of file TypoLinkCodecServiceTest.php.

Member Function Documentation

◆ decodeReturnsExpectedResult()

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

Definition at line 90 of file TypoLinkCodecServiceTest.php.

◆ decodeReturnsExpectedResultDataProvider()

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

Definition at line 98 of file TypoLinkCodecServiceTest.php.

◆ encodeReturnsExpectedResult()

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

Definition at line 43 of file TypoLinkCodecServiceTest.php.

◆ encodeReturnsExpectedResultDataProvider()

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

Definition at line 51 of file TypoLinkCodecServiceTest.php.

◆ setUp()

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

Set up test subject

Definition at line 32 of file TypoLinkCodecServiceTest.php.

Member Data Documentation

◆ $subject

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

Definition at line 27 of file TypoLinkCodecServiceTest.php.