Slf4jReporter extends AbstractReporter implements Scheduled { @Override public String filterCharacters(String input) { return input; }  @VisibleForTesting Map<Gauge<?>, String> getGauges(); @VisibleForTesting Map<Counter, String> getCounters(); @VisibleForTesting Map<Histogram, String> getHistograms(); @VisibleForTesting Map<Meter, String> getMeters(); @Override void open(MetricConfig metricConfig); @Override void close(); @Override void report(); @Override String filterCharacters(String input);  }
@Test public void testFilterCharacters() throws Exception { Slf4jReporter reporter = new Slf4jReporter(); assertThat(reporter.filterCharacters(""), equalTo("")); assertThat(reporter.filterCharacters("abc"), equalTo("abc")); assertThat(reporter.filterCharacters("a:b$%^::"), equalTo("a:b$%^::")); }