public class DecodeMessageTest extends Object
DecodeMessage.| Modifier and Type | Class and Description |
|---|---|
(package private) class |
DecodeMessageTest.MockMessageDecoder
Mock implementation of
MessageDecoder which either returns a
MessageContext with a mock message or throws a MessageDecodingException. |
| Modifier and Type | Field and Description |
|---|---|
private DecodeMessageTest.MockMessageDecoder |
decoder |
private MockMessage |
message |
private ProfileRequestContext |
profileCtx |
| Constructor and Description |
|---|
DecodeMessageTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testDecodeMessage()
Test that the action proceeds properly if the message can be decoded.
|
void |
testFailure()
Test that the action errors out properly if the message can not be decoded.
|
private MockMessage message
private DecodeMessageTest.MockMessageDecoder decoder
private ProfileRequestContext profileCtx
public void setUp()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic void testDecodeMessage()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic void testFailure()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionCopyright © 1999–2014. All rights reserved.