@Test
public void testGetTrustStoreEntries() {

    // trust store should contain the entries
    try {
        assertNotNull(crypto.getTrustStore().getCertificateAlias(testCACert));
        assertNull(crypto.getTrustStore().getCertificate("testtesttest"));
    } catch (KeyStoreException | CryptoException e) {
        fail("testGetTrustStoreEntries should not have thrown exception. Error: " + e.getMessage());
    }
}