Code example for FactoryConfigurationError

Methods: getCause, getLocalizedMessage

0
import junit.framework.TestCase; 
import dalvik.annotation.TestLevel; 
import dalvik.annotation.TestTargetClass; 
import dalvik.annotation.TestTargetNew; 
 
@TestTargetClass(FactoryConfigurationError.class) 
public class FactoryConfigurationErrorTest extends TestCase {
 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "FactoryConfigurationError", 
        args = {} 
    ) 
    public void test_Constructor() { 
        FactoryConfigurationError fce = new FactoryConfigurationError();
        assertNull(fce.getMessage());
        assertNull(fce.getLocalizedMessage());
        assertNull(fce.getCause());
    }