@Test
public void testLoadKeyStore() throws Exception {

    String path = x509TestContext.getKeyStoreFile(KeyStoreFileType.PEM)
            .getAbsolutePath();
    KeyStore ks = new PEMFileLoader.Builder()
            .setKeyStorePath(path)
            .setKeyStorePassword(x509TestContext.getKeyStorePassword())
            .build()
            .loadKeyStore();
    Assert.assertEquals(1, ks.size());
}