Code example for FactoryConfigurationError

0
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "FactoryConfigurationError", 
        args = {java.lang.String.class}
    ) 
    public void test_ConstructorLjava_lang_String() { 
        FactoryConfigurationError fce = new FactoryConfigurationError("Oops!");
        assertEquals("Oops!", fce.getMessage());
        assertEquals("Oops!", fce.getLocalizedMessage());
        assertNull(fce.getCause());
    } 
 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getException", 
        args = {} 
    ) 
    public void test_getException() { 
        FactoryConfigurationError fce = new FactoryConfigurationError();
        assertNull(fce.getException());