Method | 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. |
Method | Description | |
---|---|---|
getPartlyMockedURLWildcardService ( array $methods = null ) : |
Returns the content service to test with $methods mocked. |
protected getPartlyMockedURLWildcardService ( array $methods = null ) : |
||
$methods | array | |
return |
public providerForTestTranslateThrowsNotFoundException ( ) : array | ||
return | array |
public testCreate ( $sourceUrl, $destinationUrl, $forward ) |
public testCreateThrowsContentValidationException ( $sourceUrl, $destinationUrl, $forward ) |
public testCreateThrowsInvalidArgumentException ( ) |
public testCreateThrowsUnauthorizedException ( ) |
public testCreateWithRollback ( ) |
public testLoadAllWithLimitAndOffset ( ) |
public testLoadThrowsException ( ) |
public testRemoveThrowsUnauthorizedException ( ) |
public testRemoveWithRollback ( ) |
public testTranslate ( $createArray, $url, $uri ) |
public testTranslateThrowsNotFoundException ( $createArray, $url ) |
public testTranslateUsesLongestMatchingWildcard ( ) |