@Test(expected = KeyStoreException.class)
public void testLoadPrivateKeyFromTrustStore() throws IOException, GeneralSecurityException {

    PemReader.loadPrivateKey(
            x509TestContext.getTrustStoreFile(KeyStoreFileType.PEM), Optional.empty());
}