Code example for CertStoreException

Methods: getCause, getMessage

0
            String getM = tE.getMessage();
            assertTrue("getMessage() should contain ".concat(toS), (getM
                    .indexOf(toS) != -1));
        } 
        assertNotNull("getCause() must not return null", tE.getCause());
        assertEquals("getCause() must return ".concat(tCause.toString()), tE
                .getCause(), tCause);
    } 
 
    /** 
     * Test for <code>CertStoreException(String, Throwable)</code> constructor 
     * Assertion: constructs CertStoreException when <code>cause</code> is 
     * null <code>msg</code> is null 
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Verifies null as parameters.", 
        method = "CertStoreException", 
        args = {java.lang.String.class, java.lang.Throwable.class}
    ) 
    public void testCertStoreException06() {