Class ComponentSupportTest
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.ComponentSupportTest
-
public class ComponentSupportTest extends Object
Tests forComponentSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classComponentSupportTest.MockDestructableComponentclassComponentSupportTest.MockInitializableComponent
-
Constructor Summary
Constructors Constructor Description ComponentSupportTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private <T> TnullValue()voidtestDestroy()voidtestIfDestroyedThrowDestroyedComponentException()voidtestIfInitializedThrowUnmodifiabledComponentException()voidtestIfNotInitializedThrowUninitializedComponentException()voidtestInitialized()
-
-
-
Method Detail
-
testDestroy
public void testDestroy() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testInitialized
public void testInitialized() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testIfDestroyedThrowDestroyedComponentException
public void testIfDestroyedThrowDestroyedComponentException()
-
testIfNotInitializedThrowUninitializedComponentException
public void testIfNotInitializedThrowUninitializedComponentException() throws Exception- Throws:
Exception
-
testIfInitializedThrowUnmodifiabledComponentException
public void testIfInitializedThrowUnmodifiabledComponentException() throws Exception- Throws:
Exception
-
nullValue
private <T> T nullValue()
-
-