Code example for InvalidAlgorithmParameterException

Methods: getCause, getMessage

0
        assertEquals("getCause() must return ".concat(tCause.toString()), tE
                .getCause(), tCause);
    } 
 
    /** 
     * Test for 
     * <code>InvalidAlgorithmParameterException(String, Throwable)</code> 
     * constructor Assertion: constructs InvalidAlgorithmParameterException when 
     * <code>cause</code> is null <code>msg</code> is null 
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "", 
        method = "InvalidAlgorithmParameterException", 
        args = {java.lang.String.class, java.lang.Throwable.class}
    ) 
    public void testInvalidAlgorithmParameterException06() { 
        InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(
                null, null); 
        assertNull("getMessage() must return null", tE.getMessage());
        assertNull("getCause() must return null", tE.getCause());