.to(SampleController.class).find(param("id"));
}
}).requestMethod(GET).acceptHeader("application/json, text/html");
routeTester.process("/cars/10");
verify(routeTester.<SampleController>getController()).find("10");
verify(routeTester.jsonResponder()).respond(anyObject(), any(RouteContext.class));
}
@Test(expected = RuntimeException.class)
public void testNoConsumers() throws Exception {
final RouteTester routeTester = RouteTester.from(new AbstractRoutingModule() {