### Question:
SecurityUtils { public static KeyStore loadKeyStore(HttpsConfig config) throws KeyStoreException, IOException, CertificateException, NoSuchAlgorithmException { KeyStore ks = KeyStore.getInstance(config.getKeyStoreType()); InputStream inputStream; if (config.getKeyStore().startsWith(SAFKEYRING)) { URL url = keyRingUrl(config.getKeyStore(), config.getTrustStore()); inputStream = url.openStream(); } else { File keyStoreFile = new File(config.getKeyStore()); inputStream = new FileInputStream(keyStoreFile); } ks.load(inputStream, config.getKeyStorePassword()); return ks; }  static String readSecret(HttpsConfig config); static Key loadKey(HttpsConfig config); static Certificate[] loadCertificateChain(HttpsConfig config); static Set<String> loadCertificateChainBase64(HttpsConfig config); static PublicKey loadPublicKey(HttpsConfig config); static Key findPrivateKeyByPublic(HttpsConfig config, byte[] publicKey); static KeyStore loadKeyStore(HttpsConfig config); static URL keyRingUrl(String uri, String trustStore); static String replaceFourSlashes(String storeUri); static KeyPair generateKeyPair(String algorithm, int keySize); static final String SAFKEYRING; }### Answer:
@Test public void testLoadKeyStore() throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException { HttpsConfig httpsConfig = httpsConfigBuilder.build(); KeyStore keyStore = SecurityUtils.loadKeyStore(httpsConfig); assertTrue(keyStore.size() > 0); }