Package org.opensaml.messaging.handler
Class AbstractMessageHandlerTest
java.lang.Object
org.opensaml.messaging.handler.AbstractMessageHandlerTest
Unit test for
AbstractMessageHandler.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classprivate classstatic classMock contextprivate classprivate classprivate class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest a failure in the exec step.voidTest an unchecked error in the exec step.voidTest handler with an always false activation condition.voidTest a failure in the post step.voidTest a failure in the preexec step.voidTest a successful action run.voidTest handler with an always true activation condition.
-
Constructor Details
-
AbstractMessageHandlerTest
public AbstractMessageHandlerTest()
-
-
Method Details
-
testSuccess
Test a successful action run.- Throws:
Exception- if something bad happens
-
testPreFailure
Test a failure in the preexec step.- Throws:
Exception- if something bad happens
-
testExecFailure
Test a failure in the exec step.- Throws:
Exception- if something bad happens
-
testExecUnchecked
Test an unchecked error in the exec step.- Throws:
Exception- if something bad happens
-
testPostFailure
Test a failure in the post step.- Throws:
Exception- if something bad happens
-
testTrueActivationCondition
Test handler with an always true activation condition.- Throws:
Exception
-
testFalseActivationCondition
Test handler with an always false activation condition.- Throws:
Exception
-