@Test
public void testAddCACertificateToTrustStoreCertNullAlias() throws Exception {

    thrown.expect(InvalidArgumentException.class);
    thrown.expectMessage("You must assign an alias");
    crypto.addCACertificateToTrustStore(testCACert, null);
}