Property | Type | Description | |
---|---|---|---|
$matchRequestResult | Return value expectation for RequestMatcher::matchRequest Set to false to expect Router::match() never to be called, or to an exception to have it throw one. |
Method | Description | |
---|---|---|
testGetOptions ( ) | ||
testGetOptionsException ( ) | ||
testGetOptionsMethodNotAllowed ( ) | ||
testGetOptionsNoMethods ( ) | ||
testGetOptionsNotRestRequest ( ) | ||
testGetOptionsResourceNotFound ( ) |
Method | Description | |
---|---|---|
createRequest ( boolean $isRestRequest = true ) : |
||
getProvider ( ) | ||
getRequestMatcherMock ( ) : PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject | Symfony\Component\Routing\Matcher\RequestMatcherInterface |
protected createRequest ( boolean $isRestRequest = true ) : |
||
$isRestRequest | boolean | wether or not to set the is_rest_request attribute |
return |
protected getRequestMatcherMock ( ) : PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject | Symfony\Component\Routing\Matcher\RequestMatcherInterface | ||
return | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject | Symfony\Component\Routing\Matcher\RequestMatcherInterface |