### Question:
ServoCounter implements Counter, ServoMeter { @Override public void addMonitors(List<Monitor<?>> monitors) { monitors.add(impl); } ServoCounter(Id id, Clock clock, DoubleCounter impl); @Override void addMonitors(List<Monitor<?>> monitors); @Override Id id(); @Override boolean hasExpired(); @Override Iterable<Measurement> measure(); @Override void add(double amount); @Override double actualCount();  }### Answer:
@Test public void hasStatistic() { List<Monitor<?>> ms = new ArrayList<>(); Counter c = newCounter("foo"); ((ServoCounter) c).addMonitors(ms); Assertions.assertEquals(1, ms.size()); Assertions.assertEquals("count", ms.get(0).getConfig().getTags().getValue("statistic")); }