Class AddRelayStateHeaderHandlerTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.saml2.binding.impl.AddRelayStateHeaderHandlerTest
-
public class AddRelayStateHeaderHandlerTest extends OpenSAMLInitBaseTestCase
AddRelayStateHeaderHandlerunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private AddRelayStateHeaderHandlerhandlerprivate MessageContextmessageCtx
-
Constructor Summary
Constructors Constructor Description AddRelayStateHeaderHandlerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestMissingEndpointContext()Test that the handler does nothing on a missing Endpoint context.voidtestMissingEnvelope()Test that the handler errors on a missing SOAP context.voidtestSuccess()Test that the handler works.-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
messageCtx
private MessageContext messageCtx
-
handler
private AddRelayStateHeaderHandler handler
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testMissingEndpointContext
public void testMissingEndpointContext() throws MessageHandlerExceptionTest that the handler does nothing on a missing Endpoint context.- Throws:
MessageHandlerException- ...
-
testMissingEnvelope
public void testMissingEnvelope() throws MessageHandlerExceptionTest that the handler errors on a missing SOAP context.- Throws:
MessageHandlerException- ...
-
testSuccess
public void testSuccess() throws MessageHandlerExceptionTest that the handler works.- Throws:
MessageHandlerException- ...
-
-