PHP Class Psecio\PropAuth\GatewayTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: psecio/propauth

Méthodes publiques

Méthode 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 méthode

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

testPasswordEvaluationValid() public méthode

Test the password evaluation handling on the Gateway class

testPolicyEvaluationBadName() public méthode

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

testPolicyEvaluationNonAuthed() public méthode

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

testPolicySetupWithSet() public méthode

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

testValidPolicyExecution() public méthode

Test the evaluation of a policy execution