Class HTTPSOAP11DecoderTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.saml2.binding.decoding.impl.HTTPSOAP11DecoderTest
-
public class HTTPSOAP11DecoderTest extends XMLObjectBaseTestCase
Test case for HTTP SOAP 1.1 decoder.
-
-
Field Summary
Fields Modifier and Type Field Description private HTTPSOAP11Decoderdecoderprivate MockHttpServletRequesthttpRequest-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description HTTPSOAP11DecoderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringencodeMessage(XMLObject message)protected voidsetUp()voidtestDecoding()Tests decoding a SOAP 1.1 message.-
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 HTTPSOAP11Decoder decoder
-
httpRequest
private MockHttpServletRequest httpRequest
-
-
Method Detail
-
testDecoding
public void testDecoding() throws ExceptionTests decoding a SOAP 1.1 message.- Throws:
Exception- if something goes wrong
-
encodeMessage
protected String encodeMessage(XMLObject message) throws MarshallingException
- Throws:
MarshallingException
-
-