InstrumentedHandler extends HandlerWrapper { public String getName() { return name; } InstrumentedHandler(MetricRegistry registry);  InstrumentedHandler(MetricRegistry registry, String prefix); String getName(); void setName(String name); @Override void handle(String path,
                       Request request,
                       HttpServletRequest httpRequest,
                       HttpServletResponse httpResponse);  }
@Test public void hasAName() throws Exception { assertThat(handler.getName()) .isEqualTo("handler"); }