Class KeyInfoConfirmationDataTypeTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
- org.opensaml.saml.saml2.core.impl.KeyInfoConfirmationDataTypeTest
-
public class KeyInfoConfirmationDataTypeTest extends XMLObjectProviderBaseTestCase
Test case for creating, marshalling, and unmarshallingKeyInfoConfirmationDataTypeImpl.
-
-
Field Summary
Fields Modifier and Type Field Description private StringexpectedAddressExpected Address value.private StringexpectedInResponseToExpected InResponseTo value.private InstantexpectedNotBeforeExpected NotBefore value.private InstantexpectedNotOnOrAfterExpected NotOnOrAfter value.private intexpectedNumKeyInfoChildrenExpected number of KeyInfo child elements.private StringexpectedRecipientExpected Recipient value.private QNameexpectedTypeExpected xsi:type value.-
Fields inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, expectedUnknownAttributesDOM, invalidDOM, invalidFile, singleElementFile, singleElementOptionalAttributesFile, singleElementUnknownAttributesFile
-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description KeyInfoConfirmationDataTypeTest()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyInfoConfirmationDataTypebuildXMLObject()protected voidsetUp()voidtestChildElementsMarshall()voidtestChildElementsUnmarshall()voidtestSingleElementMarshall()voidtestSingleElementOptionalAttributesMarshall()voidtestSingleElementOptionalAttributesUnmarshall()voidtestSingleElementUnmarshall()-
Methods inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
initXMLObjectProviderTestingSupprt, testAttributeIDnessMarshall, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshall
-
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
-
expectedNotBefore
private Instant expectedNotBefore
Expected NotBefore value.
-
expectedNotOnOrAfter
private Instant expectedNotOnOrAfter
Expected NotOnOrAfter value.
-
expectedRecipient
private String expectedRecipient
Expected Recipient value.
-
expectedInResponseTo
private String expectedInResponseTo
Expected InResponseTo value.
-
expectedAddress
private String expectedAddress
Expected Address value.
-
expectedType
private QName expectedType
Expected xsi:type value.
-
expectedNumKeyInfoChildren
private int expectedNumKeyInfoChildren
Expected number of KeyInfo child elements.
-
-
Method Detail
-
testSingleElementUnmarshall
public void testSingleElementUnmarshall()
- Specified by:
testSingleElementUnmarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementOptionalAttributesUnmarshall
public void testSingleElementOptionalAttributesUnmarshall()
- Overrides:
testSingleElementOptionalAttributesUnmarshallin classXMLObjectProviderBaseTestCase
-
testChildElementsUnmarshall
public void testChildElementsUnmarshall()
- Overrides:
testChildElementsUnmarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementMarshall
public void testSingleElementMarshall()
- Specified by:
testSingleElementMarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementOptionalAttributesMarshall
public void testSingleElementOptionalAttributesMarshall()
- Overrides:
testSingleElementOptionalAttributesMarshallin classXMLObjectProviderBaseTestCase
-
testChildElementsMarshall
public void testChildElementsMarshall()
- Overrides:
testChildElementsMarshallin classXMLObjectProviderBaseTestCase
-
buildXMLObject
public KeyInfoConfirmationDataType buildXMLObject()
-
-