assertTrue(acl.isClassRegistered("anotherStack"));
}
public void testDeregisterClass()
{
AxisClassLoader acl = AxisClassLoader.getClassLoader();
java.util.Stack stack = new java.util.Stack(); //Stack was chosen arbitrarily
Class clazz = stack.getClass();
acl.registerClass("myStack",clazz);
assertTrue(acl.isClassRegistered("myStack"));
acl.deregisterClass("myStack");
if (acl.isClassRegistered("myStack"))
{
fail("Class should have been deregistered.");
}
}