PHP Class Phprest\Service\Hateoas\UtilTest

Inheritance: extends PHPUnit_Framework_TestCase, use trait Getter, use trait Util
Show file Open project: phprest/phprest

Public Methods

Method Description
setUp ( )
setUpBeforeClass ( )
testDefaultSerialize ( )
testJsonDeserialize ( )
testJsonDeserializeWithUnsopportedFormat ( )
testJsonSerialize ( )
testNotAcceptableSerialize ( )
testXmlSerialize ( )

Protected Methods

Method Description
getContainer ( )
setRequestParameters ( string $vendor, string | integer $apiVersion, string $acceptHeader ) : Request

Method Details

getContainer() protected method

protected getContainer ( )

setRequestParameters() protected method

protected setRequestParameters ( string $vendor, string | integer $apiVersion, string $acceptHeader ) : Request
$vendor string
$apiVersion string | integer
$acceptHeader string
return Symfony\Component\HttpFoundation\Request

setUp() public method

public setUp ( )

setUpBeforeClass() public static method

public static setUpBeforeClass ( )

testDefaultSerialize() public method

testJsonDeserialize() public method

public testJsonDeserialize ( )

testJsonDeserializeWithUnsopportedFormat() public method

testJsonSerialize() public method

public testJsonSerialize ( )

testNotAcceptableSerialize() public method

testXmlSerialize() public method

public testXmlSerialize ( )