Code example for CertificateParsingException

Methods: getCause, getMessage

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