@Test
void retrievePrivateKeyFromFile() throws Exception
{

    FileUtils.writeStringToFile(FILE, FILE_CONTENT);
    CertifiedKeyPair keyPair = store.retrieve(SINGLE_STORE_REF);
    assertThat(keyPair, notNullValue());
    assertThat(keyPair.getPrivateKey(), equalTo(privateKey));
    assertThat(keyPair.getCertificate(), equalTo((CertifiedPublicKey) certificate));
}