Code example for CertificateNotYetValidException

Methods: getCausegetMessage

0
     * constructor Assertion: constructs CertificateNotYetValidException when 
     * <code>msg</code> is null 
     */ 
    public void testCertificateNotYetValidException03() { 
        String msg = null;
        CertificateNotYetValidException tE = new CertificateNotYetValidException(
                msg);
        assertNull("getMessage() must return null.", tE.getMessage());
        assertNull("getCause() must return null", tE.getCause());
    } 
}