@Test
public void testGetTrustStore() throws IllegalAccessException, InstantiationException, ClassNotFoundException {

    // getTrustStore should have created a KeyStore if setTrustStore hasn't
    // been called
    try {
        CryptoPrimitives myCrypto = new CryptoPrimitives();
        assertNotNull(myCrypto.getTrustStore());
    } catch (CryptoException e) {
        fail("getTrustStore() fails with : " + e.getMessage());
    }
}