Class ObligationTest


  • public class ObligationTest
    extends org.opensaml.core.xml.XMLObjectProviderBaseTestCase
    Test case for creating, marshalling, and unmarshalling ObligationType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int expectedAttributeAssignments  
      private String expectedAttributeId  
      private String expectedDataType  
      private org.opensaml.xacml.policy.EffectType expectedFulFillOn  
      private String expectedObligationId  
      • Fields inherited from class org.opensaml.core.xml.XMLObjectProviderBaseTestCase

        childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, expectedUnknownAttributesDOM, invalidDOM, invalidFile, singleElementFile, singleElementOptionalAttributesFile, singleElementUnknownAttributesFile
      • Fields inherited from class org.opensaml.core.xml.XMLObjectBaseTestCase

        builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      ObligationTest()
      Constructor
    • Field Detail

      • expectedObligationId

        private String expectedObligationId
      • expectedFulFillOn

        private org.opensaml.xacml.policy.EffectType expectedFulFillOn
      • expectedAttributeAssignments

        private int expectedAttributeAssignments
      • expectedDataType

        private String expectedDataType
      • expectedAttributeId

        private String expectedAttributeId
    • Constructor Detail

      • ObligationTest

        public ObligationTest()
        Constructor
    • Method Detail

      • testSingleElementUnmarshall

        public void testSingleElementUnmarshall()
        Specified by:
        testSingleElementUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCase
      • testSingleElementMarshall

        public void testSingleElementMarshall()
        Specified by:
        testSingleElementMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCase
      • testChildElementsUnmarshall

        public void testChildElementsUnmarshall()
        Overrides:
        testChildElementsUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCase
      • testChildElementsMarshall

        public void testChildElementsMarshall()
        Overrides:
        testChildElementsMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCase