Code example for CertStoreException

Methods: getCause, getMessage

0
            "", 
            "Check new message", 
            "Check new message Check new message Check new message Check new message Check new message" }; 
 
    private static Throwable tCause = new Throwable("Throwable for exception");
 
    /** 
     * Test for <code>CertStoreException()</code> constructor Assertion: 
     * constructs CertStoreException with no detail message 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "CertStoreException", 
        args = {} 
    ) 
    public void testCertStoreException01() { 
        CertStoreException tE = new CertStoreException();
        assertNull("getMessage() must return null.", tE.getMessage());
        assertNull("getCause() must return null", tE.getCause());
    }