Code example for DestroyFailedException

0
 
    /** 
     * @tests javax.security.auth.DestroyFailedException#DestroyFailedException() 
     */ 
    public final void testCtor1() { 
        assertNull(new DestroyFailedException().getMessage());
    } 
 
    /** 
     * @tests javax.security.auth.DestroyFailedException#DestroyFailedException( 
     *        java.lang.String) 
     */ 
    public final void testCtor2() { 
        assertNull(new DestroyFailedException(null).getMessage());
 
        String message = "";
        assertSame(message, new DestroyFailedException(message).getMessage());
 
        message = "message";
        assertSame(message, new DestroyFailedException(message).getMessage());
Connect your IDE to all the code out there  Get Codota for Java