Property | Type | Description | |
---|---|---|---|
$configResolver | PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\MVC\ConfigResolverInterface | ||
$container | PHPUnit_Framework_MockObject_MockObject | Symfony\Component\DependencyInjection\ContainerInterface | ||
$requestContext | Symfony\Component\Routing\RequestContext |
Method | Description | |
---|---|---|
providerGenerateNoSiteAccess ( ) | ||
providerGenerateWithSiteAccess ( ) | ||
testGenerateNoSiteAccess ( $url ) | ||
testGenerateReverseSiteAccessMatch ( ) | ||
testGenerateWithSiteAccess ( string $urlGenerated, string $relevantUri, string $expectedUrl, string $saName, boolean $isMatcherLexer, integer $referenceType, string $routeName ) | ||
testMatchRequestRegularPathinfo ( ) | ||
testMatchRequestWithSemanticPathinfo ( ) |
Method | Description | |
---|---|---|
generateRouter ( array $mockedMethods = [] ) : PHPUnit_Framework_MockObject_MockObject | |
||
getRouterClass ( ) | ||
setUp ( ) |
protected generateRouter ( array $mockedMethods = [] ) : PHPUnit_Framework_MockObject_MockObject | |
||
$mockedMethods | array | |
return | PHPUnit_Framework_MockObject_MockObject | |
public testGenerateWithSiteAccess ( string $urlGenerated, string $relevantUri, string $expectedUrl, string $saName, boolean $isMatcherLexer, integer $referenceType, string $routeName ) | ||
$urlGenerated | string | The URL generated by the standard UrLGenerator |
$relevantUri | string | The relevant URI part of the generated URL (without host and basepath) |
$expectedUrl | string | The URL we're expecting to be finally generated, with siteaccess |
$saName | string | The SiteAccess name |
$isMatcherLexer | boolean | True if the siteaccess matcher is URILexer |
$referenceType | integer | The type of reference to be generated (one of the constants) |
$routeName | string |
public testMatchRequestWithSemanticPathinfo ( ) |
protected PHPUnit_Framework_MockObject_MockObject|ConfigResolverInterface,eZ\Publish\Core\MVC $configResolver | ||
return | PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\MVC\ConfigResolverInterface |
protected PHPUnit_Framework_MockObject_MockObject|ContainerInterface,Symfony\Component\DependencyInjection $container | ||
return | PHPUnit_Framework_MockObject_MockObject | Symfony\Component\DependencyInjection\ContainerInterface |