Class HttpClientResponseSOAP11DecoderTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.soap.client.soap11.decoder.http.impl.HttpClientResponseSOAP11DecoderTest
-
public class HttpClientResponseSOAP11DecoderTest extends XMLObjectBaseTestCase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classHttpClientResponseSOAP11DecoderTest.TestEnvelopeBodyHandlerclassHttpClientResponseSOAP11DecoderTest.TestPayloadBodyHandler
-
Field Summary
Fields Modifier and Type Field Description private HttpClientResponseSOAP11Decoderdecoder-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description HttpClientResponseSOAP11DecoderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private EnvelopebuildMessageSkeleton()private org.apache.http.HttpResponsebuildResponse(int statusResponseCode, Envelope envelope)voidsetUp()voidtestDecodeToEnvelope()voidtestDecodeToPayload()voidtestFault()-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
decoder
private HttpClientResponseSOAP11Decoder decoder
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp()
-
testDecodeToPayload
public void testDecodeToPayload() throws ComponentInitializationException, MessageDecodingException, MarshallingException, IOException
-
testDecodeToEnvelope
public void testDecodeToEnvelope() throws ComponentInitializationException, MessageDecodingException, MarshallingException, IOException
-
testFault
public void testFault() throws ComponentInitializationException, MessageDecodingException, MarshallingException, IOException
-
buildResponse
private org.apache.http.HttpResponse buildResponse(int statusResponseCode, Envelope envelope) throws MarshallingException, IOException- Throws:
MarshallingExceptionIOException
-
buildMessageSkeleton
private Envelope buildMessageSkeleton()
-
-