@Test
void tryCreateKeyStoreWrongPasswordForKey() {

    KeystoreHelper keystoreHelper = new KeystoreHelper();
    assertThrows(KeyStoreCreationException.class, () -> keystoreHelper.createKeyStore(singletonList(createPrivateKey("test", "test", true))));
}