@Test(expected = IOException.class)
public void testLoadKeyStoreWithWrongFilePath() throws Exception {

    String path = x509TestContext.getKeyStoreFile(KeyStoreFileType.PEM)
            .getAbsolutePath();
    new PEMFileLoader.Builder()
            .setKeyStorePath(path + ".does_not_exist")
            .setKeyStorePassword(x509TestContext.getKeyStorePassword())
            .build()
            .loadKeyStore();
}