PHP Класс eZ\Bundle\EzPublishRestBundle\Tests\CorsOptions\RestProviderTest

Наследование: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

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

Метод Описание
testGetOptions ( )
testGetOptionsException ( )
testGetOptionsMethodNotAllowed ( )
testGetOptionsNoMethods ( )
testGetOptionsNotRestRequest ( )
testGetOptionsResourceNotFound ( )

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

Метод Описание
createRequest ( boolean $isRestRequest = true ) : Request
getProvider ( )
getRequestMatcherMock ( ) : PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject | Symfony\Component\Routing\Matcher\RequestMatcherInterface

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

createRequest() защищенный метод

protected createRequest ( boolean $isRestRequest = true ) : Request
$isRestRequest boolean wether or not to set the is_rest_request attribute
Результат Symfony\Component\HttpFoundation\Request

getProvider() защищенный метод

protected getProvider ( )

getRequestMatcherMock() защищенный метод

protected getRequestMatcherMock ( ) : PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject | Symfony\Component\Routing\Matcher\RequestMatcherInterface
Результат PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject | Symfony\Component\Routing\Matcher\RequestMatcherInterface

testGetOptions() публичный метод

public testGetOptions ( )

testGetOptionsException() публичный метод

testGetOptionsMethodNotAllowed() публичный метод

testGetOptionsNoMethods() публичный метод

testGetOptionsNotRestRequest() публичный метод

testGetOptionsResourceNotFound() публичный метод

Описание свойств

$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.
protected $matchRequestResult