PHP Class eZ\Publish\Core\Repository\Tests\Service\Integration\UrlWildcardTest

Inheritance: extends eZ\Publish\Core\Repository\Tests\Service\Mock\Base
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
getPartlyMockedURLWildcardService ( array $methods = null ) : URLWildcardService | PHPUnit_Framework_MockObject_MockObject Returns the content service to test with $methods mocked.

Method Details

getPartlyMockedURLWildcardService() protected méthode

Injected Repository comes from {@see \getRepositoryMock()} and persistence handler from {@see \getPersistenceMock()}
protected getPartlyMockedURLWildcardService ( array $methods = null ) : URLWildcardService | PHPUnit_Framework_MockObject_MockObject
$methods array
Résultat eZ\Publish\Core\Repository\URLWildcardService | PHPUnit_Framework_MockObject_MockObject

providerForTestCreate() public méthode

providerForTestCreateThrowsContentValidationException() public méthode

providerForTestTranslate() public méthode

public providerForTestTranslate ( ) : array
Résultat array

providerForTestTranslateThrowsNotFoundException() public méthode

testConstructor() public méthode

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

testCreate() public méthode

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

testCreateThrowsContentValidationException() public méthode

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

testCreateThrowsInvalidArgumentException() public méthode

Test for the create() method.

testCreateThrowsUnauthorizedException() public méthode

Test for the create() method.

testCreateWithRollback() public méthode

Test for the create() method.

testLoad() public méthode

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

testLoadAll() public méthode

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

testLoadAllWithLimitAndOffset() public méthode

Test for the loadAll() method.

testLoadThrowsException() public méthode

Test for the load() method.

testRemove() public méthode

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

testRemoveThrowsUnauthorizedException() public méthode

Test for the remove() method.

testRemoveWithRollback() public méthode

Test for the remove() method.

testTranslate() public méthode

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

testTranslateThrowsNotFoundException() public méthode

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

testTranslateUsesLongestMatchingWildcard() public méthode

Test for the translate() method.