PHP 클래스 eZ\Bundle\EzPublishRestBundle\Tests\CorsOptions\RestProviderTest

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$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