@Test
public void createTrustStoreTest() throws OadrSecurityException, KeyStoreException, NoSuchAlgorithmException,
		CertificateException, IOException {

	List<String> certificates = new ArrayList<>();
	certificates.add(TestUtils.TEST_CRT);
	KeyStore createTrustStore = OadrPKISecurity.createTrustStore(certificates);
	assertNotNull(createTrustStore);
	createTrustStore = OadrPKISecurity.createTrustStore(Lists.newArrayList());
	assertNotNull(createTrustStore);
	// invalid pem
	certificates = new ArrayList<>();
	certificates.add(TestUtils.TEST_KEY);
	boolean exception = false;
	try {
		createTrustStore = OadrPKISecurity.createTrustStore(certificates);
	} catch (OadrSecurityException e) {
		exception = true;
	}
	assertTrue(exception);
}