Code example for InvalidAlgorithmParameterException

Methods: getCause, getMessage

0
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "", 
        method = "InvalidAlgorithmParameterException", 
        args = {java.lang.String.class}
    ) 
    public void testInvalidAlgorithmParameterException02() { 
        InvalidAlgorithmParameterException tE;
        for (int i = 0; i < msgs.length; i++) {
            tE = new InvalidAlgorithmParameterException(msgs[i]);
            assertEquals("getMessage() must return: ".concat(msgs[i]), tE
                    .getMessage(), msgs[i]);
            assertNull("getCause() must return null", tE.getCause());
        } 
    } 
 
    /** 
     * Test for <code>InvalidAlgorithmParameterException(String)</code> 
     * constructor Assertion: constructs InvalidAlgorithmParameterException when 
     * <code>msg</code> is null 
     */ 
    @TestTargetNew(