### Question:
ServerConnectionManager { public static ServerConnectionManager getInstance() { if ( serverConnectionManager == null ) { serverConnectionManager = new ServerConnectionManager(); } return serverConnectionManager; } private  ServerConnectionManager(); static ServerConnectionManager getInstance(); HttpClient createHttpClient(); HttpClient createHttpClient( String user, String password ); HttpClient createHttpClient( String user, String password,
                                      String proxyHost, int proxyPort, AuthScope authScope ); void shutdown();  }### Answer:
@Test public void shouldOverrideDefaultSSLContextByDefault() throws Exception { System.clearProperty( "javax.net.ssl.keyStore" ); ServerConnectionManager instance = ServerConnectionManager.getInstance(); assertNotEquals( defaultContext, SSLContext.getDefault() ); }
@Test public void shouldNotOverrideDefaultSSLContextIfKeystoreIsSet() throws Exception { System.setProperty( "javax.net.ssl.keyStore", "NONE" ); ServerConnectionManager instance = ServerConnectionManager.getInstance(); assertEquals( defaultContext, SSLContext.getDefault() ); }