### Question:
SpiffeProvider extends Provider { public static void install() { if (Security.getProvider(PROVIDER_NAME) == null) { Security.addProvider(new SpiffeProvider()); } } SpiffeProvider(); static void install();  }### Answer:
@Test void install() throws NoSuchAlgorithmException { SpiffeProvider.install(); KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(SpiffeProviderConstants.ALGORITHM); TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(SpiffeProviderConstants.ALGORITHM); assertNotNull(keyManagerFactory); assertNotNull(trustManagerFactory); SpiffeProvider.install(); }