net.shibboleth.metadata.dom.saml
Class RemoveOrganizationStageTest

java.lang.Object
  extended by net.shibboleth.metadata.dom.BaseDomTest
      extended by net.shibboleth.metadata.dom.saml.RemoveOrganizationStageTest

public class RemoveOrganizationStageTest
extends BaseDomTest

Unit test for RemoveOrganizationStage.


Constructor Summary
RemoveOrganizationStageTest()
           
 
Method Summary
 void testRemoveOrganization()
          Test the organization elements are removed from top level metadata elements.
 void testRemoveOrganizationFromNestedElements()
          Test that contact person elements are removed from children of top level metadata elements.
 
Methods inherited from class net.shibboleth.metadata.dom.BaseDomTest
assertXmlIdentical, getParserPool, readTestRelativeXmlData, readXmlData, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveOrganizationStageTest

public RemoveOrganizationStageTest()
Method Detail

testRemoveOrganization

public void testRemoveOrganization()
                            throws Exception
Test the organization elements are removed from top level metadata elements.

Throws:
Exception

testRemoveOrganizationFromNestedElements

public void testRemoveOrganizationFromNestedElements()
                                              throws Exception
Test that contact person elements are removed from children of top level metadata elements.

Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.