PHP Class Webiny\Component\Rest\Tests\Response\RouterTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: Webiny/Framework

Protected Properties

Свойство Type Description
$cache

Méthodes publiques

Méthode Description
setUp ( )
testConstruct ( )
testProcessRequestDefaultNoParams ( ) We test if the default post method will be matched.
testProcessRequestOneIntegerParamRequired ( ) Test to match a default get method that has one default param that is overwritten in url.
testProcessRequestOneIntegerParamRequiredNotMatched ( ) Test to match a default get method that has one default param that is overwritten in url.
testProcessRequestOneStringParamNotDefined ( ) Test to match a default get method that has one default param.
testProcessRequestOneStringParamRequiredDefined ( ) Test to match a default get method that has one default param that is overwritten in url.
testProcessRequestStringIntDefString ( ) Test to match a default get method that has one default param that is overwritten in url.
testProcessRequestStringIntString ( ) Test to match a default get method that has one default param that is overwritten in url.
testResourceNamingNoParams ( )
testResourceNamingWithParams ( )
testSetGetMethod ( )
testSetGetUrl ( )
testSetMethodException ( )

Method Details

setUp() public méthode

public setUp ( )

testConstruct() public méthode

public testConstruct ( )

testProcessRequestDefaultNoParams() public méthode

We test if the default post method will be matched.

testProcessRequestOneIntegerParamRequired() public méthode

Test to match a default get method that has one default param that is overwritten in url.

testProcessRequestOneIntegerParamRequiredNotMatched() public méthode

Test to match a default get method that has one default param that is overwritten in url.

testProcessRequestOneStringParamNotDefined() public méthode

Test to match a default get method that has one default param.

testProcessRequestOneStringParamRequiredDefined() public méthode

Test to match a default get method that has one default param that is overwritten in url.

testProcessRequestStringIntDefString() public méthode

Test to match a default get method that has one default param that is overwritten in url.

testProcessRequestStringIntString() public méthode

Test to match a default get method that has one default param that is overwritten in url.

testResourceNamingNoParams() public méthode

testResourceNamingWithParams() public méthode

testSetGetMethod() public méthode

public testSetGetMethod ( )

testSetGetUrl() public méthode

public testSetGetUrl ( )

testSetMethodException() public méthode

Property Details

$cache protected_oe static_oe property

protected static $cache