keyS.setEntry(alias, null, null);
fail("NullPointerException must be thrown entry is null");
} catch (NullPointerException e) {
}
KeyStore.TrustedCertificateEntry entry = new KeyStore.TrustedCertificateEntry(
new MyCertificate("type", new byte[0]));
try {
keyS.setEntry(alias, entry, null);
fail("KeyStoreException must be thrown because this method is not supported");
} catch (KeyStoreException e) {
}