### Question:
TrustOnFirstUseManager extends AbstractTrustManager { @Override public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[0]; } TrustOnFirstUseManager(Path knownHosts); @Override void checkClientTrusted(X509Certificate[] clientCertificates, String authType); @Override void checkServerTrusted(X509Certificate[] serverCertificates, String authType); @Override X509Certificate[] getAcceptedIssuers();  }### Answer:
@Test public void testGetAcceptIssuers() throws IOException { trustManager = new TrustOnFirstUseManager(knownHosts); assertThat(trustManager.getAcceptedIssuers()).isEmpty(); }