Property | Type | Description | |
---|---|---|---|
$configuration | array | ||
$slugConverter | |||
$slugConverterMock | PHPUnit_Framework_MockObject_MockObject | ||
$transformationProcessorMock | PHPUnit_Framework_MockObject_MockObject |
Method | Description | |
---|---|---|
cleanupTextData ( ) | ||
convertData ( ) | ||
providerForTestGetUniqueCounterValue ( ) | ||
suite ( ) : PHPUnit_Framework_TestSuite | Returns the test suite with all tests declared in this class. | |
testCleanupText ( $text, $method, $expected ) | Test for the cleanupText() method. | |
testConstructor ( ) | Test for the __construct() method. | |
testConvert ( ) | Test for the convert() method. | |
testConvertNoMocking ( $text, $defaultText, $transformation, $expected ) | Test for the convert() method. | |
testConvertWithDefaultTextFallback ( ) | Test for the convert() method. | |
testConvertWithGivenTransformation ( ) | Test for the convert() method. | |
testGetUniqueCounterValue ( $text, $isRootLevel, $returnValue ) | Test for the getUniqueCounterValue() method. |
Method | Description | |
---|---|---|
getMockedSlugConverter ( ) : |
||
getSlugConverterMock ( array $methods = [] ) : |
||
getTransformationProcessorMock ( ) : PHPUnit_Framework_MockObject_MockObject |
protected getMockedSlugConverter ( ) : |
||
return |
protected getSlugConverterMock ( array $methods = [] ) : |
||
$methods | array | |
return |
protected getTransformationProcessorMock ( ) : PHPUnit_Framework_MockObject_MockObject | ||
return | PHPUnit_Framework_MockObject_MockObject |
public providerForTestGetUniqueCounterValue ( ) |
public static suite ( ) : PHPUnit_Framework_TestSuite | ||
return | PHPUnit_Framework_TestSuite |
public testCleanupText ( $text, $method, $expected ) |
public testConvertNoMocking ( $text, $defaultText, $transformation, $expected ) |
public testConvertWithDefaultTextFallback ( ) |
public testConvertWithGivenTransformation ( ) |
public testGetUniqueCounterValue ( $text, $isRootLevel, $returnValue ) |
protected SlugConverter,eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias $slugConverter | ||
return |
protected PHPUnit_Framework_MockObject_MockObject $slugConverterMock | ||
return | PHPUnit_Framework_MockObject_MockObject |