@Test public void getMetricRegistry() throws Exception { assertNotNull("Metric registry is NULL.", listener.getMetricRegistry()); }
@Override protected MetricRegistry getMetricRegistry() { return registry; }
MetricsServletContextListener extends MetricsServlet.ContextListener { @Override protected MetricRegistry getMetricRegistry() { return registry; } }
MetricsServletContextListener extends MetricsServlet.ContextListener { @Override protected MetricRegistry getMetricRegistry() { return registry; }  }
MetricsServletContextListener extends MetricsServlet.ContextListener { @Override protected MetricRegistry getMetricRegistry() { return registry; }   }
MetricsServletContextListener extends MetricsServlet.ContextListener { @Override protected MetricRegistry getMetricRegistry() { return registry; }    }