PHP Class Psecio\PropAuth\GatewayTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: psecio/propauth

Public Methods

Method Description
testAllPolicyEvaluateAllAny ( ) Test the evaluation of all policies when no policy name is given
testPasswordEvaluationValid ( ) Test the password evaluation handling on the Gateway class
testPolicyEvaluationBadName ( ) Test that an exception is thrown when a bad policy name is given.
testPolicyEvaluationNonAuthed ( ) Test that an exception is thrown when you try to perform the policy check on a non-authenticated subject
testPolicySetupWithSet ( ) Evaluate that things work correctly when a set is passed in, not just an individual policy
testValidPolicyExecution ( ) Test the evaluation of a policy execution

Method Details

testAllPolicyEvaluateAllAny() public method

Test the evaluation of all policies when no policy name is given

testPasswordEvaluationValid() public method

Test the password evaluation handling on the Gateway class

testPolicyEvaluationBadName() public method

Test that an exception is thrown when a bad policy name is given.

testPolicyEvaluationNonAuthed() public method

Test that an exception is thrown when you try to perform the policy check on a non-authenticated subject

testPolicySetupWithSet() public method

Evaluate that things work correctly when a set is passed in, not just an individual policy

testValidPolicyExecution() public method

Test the evaluation of a policy execution