### Question:
ProtocolHandlerConfigurator { private synchronized URLStreamHandler getHandler(String scheme, boolean trace) { URLStreamHandler handler = handlerCache.get(scheme); if(handler==null) { handler=new URLStreamHandlerFactory(true,trace).createForScheme(scheme, getProviders()); if(handler!=null) { handlerCache.put(scheme, handler); } } return handler; } private  ProtocolHandlerConfigurator(); static boolean isSupported(String scheme); static URLStreamHandler getHandler(String scheme); static boolean addProvider(Class<T> handlerClass); static void reset();  }### Answer:
@Test public void testGetHandler() throws Exception { ProtocolHandlerConfigurator.addProvider(Handler.class); assertThat(ProtocolHandlerConfigurator.getHandler("net"),instanceOf(Handler.class)); }