Test the session type negotiation behavior of an OpenID 2 consumer.
Located in /Tests/Auth/OpenID/Negotiation.php (line 38)
PHPUnit_Framework_TestCase | --TestOpenID2SessionNegotiation
Test the case where the response to an associate request is a server error or is otherwise undecipherable.
Test the case where the response to an associate request is a a failure response object.
Test the case where the association type (assoc_type) returned in an unsupported-type response is absent.
Test the case where the session type (session_type) returned in an unsupported-type response is absent.
Test the case where an unsupported-type response specifies a preferred (assoc_type, session_type) combination that is not allowed by the consumer's SessionNegotiator.
Test the case where an unsupported-type response triggers a retry to get an association with the new preferred type.
Test the case where an unsupported-typ response triggers a retry, but the retry fails and None is returned instead.
Test the valid case, wherein an association is returned on the first attempt to get one.
Documentation generated on Thu, 29 Jul 2010 13:59:05 -0700 by phpDocumentor 1.4.3