@Override protected void tearDown() throws Exception { super.tearDown(); Assert.assertEquals(Collections.<String>emptySet(), SharedMetricRegistries.names()); }
@Override public void setUp() throws Exception { SharedMetricRegistries.clear(); super.setUp(); }