PHP Class SAML2\StatusResponseTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: simplesamlphp/saml2

Public Methods

Method Description
testMarshalling ( )
testNoStatusCodeThrowsException ( ) StatusCode is required in a StatusResponse.
testNoStatusElementThrowsException ( ) A response without any element throws exception
testResponseTo ( ) Test adding in-response-to to a status message.
testStatusSubcode ( ) See if we can parse a StatusResponse with a subcode
testStatusSuccess ( ) A status reponse that is not an error
testUnmarshalling ( )

Method Details

testMarshalling() public method

public testMarshalling ( )

testNoStatusCodeThrowsException() public method

StatusCode is required in a StatusResponse.

testNoStatusElementThrowsException() public method

A response without any element throws exception

testResponseTo() public method

Test adding in-response-to to a status message.
public testResponseTo ( )

testStatusSubcode() public method

See if we can parse a StatusResponse with a subcode
public testStatusSubcode ( )

testStatusSuccess() public method

A status reponse that is not an error
public testStatusSuccess ( )

testUnmarshalling() public method

public testUnmarshalling ( )