PHP Класс eZ\Publish\Core\Repository\Tests\Service\Integration\UrlWildcardTest

Наследование: extends eZ\Publish\Core\Repository\Tests\Service\Mock\Base
Показать файл Открыть проект

Открытые методы

Метод Описание
providerForTestCreate ( )
providerForTestCreateThrowsContentValidationException ( )
providerForTestTranslate ( ) : array
providerForTestTranslateThrowsNotFoundException ( ) : array
testConstructor ( ) Test for the __construct() method.
testCreate ( $sourceUrl, $destinationUrl, $forward ) Test for the create() method.
testCreateThrowsContentValidationException ( $sourceUrl, $destinationUrl, $forward ) Test for the create() method.
testCreateThrowsInvalidArgumentException ( ) Test for the create() method.
testCreateThrowsUnauthorizedException ( ) Test for the create() method.
testCreateWithRollback ( ) Test for the create() method.
testLoad ( ) Test for the load() method.
testLoadAll ( ) Test for the loadAll() method.
testLoadAllWithLimitAndOffset ( ) Test for the loadAll() method.
testLoadThrowsException ( ) Test for the load() method.
testRemove ( ) Test for the remove() method.
testRemoveThrowsUnauthorizedException ( ) Test for the remove() method.
testRemoveWithRollback ( ) Test for the remove() method.
testTranslate ( $createArray, $url, $uri ) Test for the translate() method.
testTranslateThrowsNotFoundException ( $createArray, $url ) Test for the translate() method.
testTranslateUsesLongestMatchingWildcard ( ) Test for the translate() method.

Защищенные методы

Метод Описание
getPartlyMockedURLWildcardService ( array $methods = null ) : URLWildcardService | PHPUnit_Framework_MockObject_MockObject Returns the content service to test with $methods mocked.

Описание методов

getPartlyMockedURLWildcardService() защищенный Метод

Injected Repository comes from {@see \getRepositoryMock()} and persistence handler from {@see \getPersistenceMock()}
protected getPartlyMockedURLWildcardService ( array $methods = null ) : URLWildcardService | PHPUnit_Framework_MockObject_MockObject
$methods array
Результат eZ\Publish\Core\Repository\URLWildcardService | PHPUnit_Framework_MockObject_MockObject

providerForTestCreate() публичный Метод

providerForTestCreateThrowsContentValidationException() публичный Метод

providerForTestTranslate() публичный Метод

public providerForTestTranslate ( ) : array
Результат array

providerForTestTranslateThrowsNotFoundException() публичный Метод

testConstructor() публичный Метод

Test for the __construct() method.
public testConstructor ( )

testCreate() публичный Метод

Test for the create() method.
public testCreate ( $sourceUrl, $destinationUrl, $forward )

testCreateThrowsContentValidationException() публичный Метод

Test for the create() method.
public testCreateThrowsContentValidationException ( $sourceUrl, $destinationUrl, $forward )

testCreateThrowsInvalidArgumentException() публичный Метод

Test for the create() method.

testCreateThrowsUnauthorizedException() публичный Метод

Test for the create() method.

testCreateWithRollback() публичный Метод

Test for the create() method.

testLoad() публичный Метод

Test for the load() method.
public testLoad ( )

testLoadAll() публичный Метод

Test for the loadAll() method.
public testLoadAll ( )

testLoadAllWithLimitAndOffset() публичный Метод

Test for the loadAll() method.

testLoadThrowsException() публичный Метод

Test for the load() method.

testRemove() публичный Метод

Test for the remove() method.
public testRemove ( )

testRemoveThrowsUnauthorizedException() публичный Метод

Test for the remove() method.

testRemoveWithRollback() публичный Метод

Test for the remove() method.

testTranslate() публичный Метод

Test for the translate() method.
public testTranslate ( $createArray, $url, $uri )

testTranslateThrowsNotFoundException() публичный Метод

Test for the translate() method.
public testTranslateThrowsNotFoundException ( $createArray, $url )

testTranslateUsesLongestMatchingWildcard() публичный Метод

Test for the translate() method.