@Test
void storeEncryptedPrivateKeyToDirectory() throws Exception
{

    store.store(MULTI_STORE_REF, keyPair, PASSWORD);
    assertThat(FileUtils.readFileToString(KEY_FILE),
        equalTo(ENCRYTEDKEY_FILE_CONTENT));
    assertThat(FileUtils.readFileToString(CERT_FILE),
        equalTo(CERTIFICATE_FILE_CONTENT));
}