### Question:
HttpRouterProvider implements Provider<Router> { @Override public Router get() { Router router = new Router(); for (HttpRouteProvider routeProvider : routeProviders) { injector.injectMembers(routeProvider); Set<HttpRoute> routes = routeProvider.get(); for (HttpRoute route : routes) { router.addRoute(requestUriMatcher(route.getMode(), route.getUriTemplate()), route.getHandler()); } } return router; } @Inject  HttpRouterProvider(Injector injector, Iterable<HttpRouteProvider> routeProviders); @Override Router get();  }### Answer:
@Test(dataProvider = "routeRequestsData") public void shouldAddRoutesToRouter(String requestUri, Handler exceptedHandler) { Context context = new RootContext(); Request request = new Request().setUri(URI.create(requestUri)); Router router = httpRouterProvider.get(); router.handle(context, request); verify(exceptedHandler).handle(any(Context.class), eq(request)); }