@Test
public void testLoadTrustStore() throws Exception {

    String path = x509TestContext.getTrustStoreFile(KeyStoreFileType.PEM)
            .getAbsolutePath();
    KeyStore ts = new PEMFileLoader.Builder()
            .setTrustStorePath(path)
            .setTrustStorePassword(x509TestContext.getTrustStorePassword())
            .build()
            .loadTrustStore();
    Assert.assertEquals(1, ts.size());
}