NoneTlsKeyManagersProvider implements TlsKeyManagersProvider { public static NoneTlsKeyManagersProvider getInstance() { return INSTANCE; } private  NoneTlsKeyManagersProvider(); @Override KeyManager[] getKeyManagers(); static NoneTlsKeyManagersProvider getInstance();  }
@Test public void getInstance_returnsSingletonInstance() { NoneTlsKeyManagersProvider instance1 = NoneTlsKeyManagersProvider.getInstance(); NoneTlsKeyManagersProvider instance2 = NoneTlsKeyManagersProvider.getInstance(); assertThat(instance1 == instance2, equalTo(true)); }