### Question:
DefaultRequestHandlerProvider implements RequestHandlerProvider { @Override public Map<String, RequestHandler> provideRequestHandlers() { final Map<String, RequestHandler> map = new HashMap<String, RequestHandler>(); map.put(ModelAsJsonRequestHandler.ALIAS, new LazyRequestHandlerDecorator(new LazyInitializer<RequestHandler>() { @Override protected RequestHandler initialize() { return new ModelAsJsonRequestHandler(); } })); return map; }  @Override Map<String, RequestHandler> provideRequestHandlers();  }### Answer:
@Test public void shoudProvideAtLeastOneRequestHandler() { final Map<String, RequestHandler> map = victim.provideRequestHandlers(); assertFalse(map.isEmpty()); }
@Test public void shouldNotFailWhenEachHandlerIsInvoked() { final Map<String, RequestHandler> map = victim.provideRequestHandlers(); for (final RequestHandler handler : map.values()) { injector.inject(handler); handler.accept(mockRequest); handler.isEnabled(); } }