### Question:
DropwizardTimer implements Timer { @Override public void update(long duration, TimeUnit unit) { timer.update(duration, unit); } DropwizardTimer(com.codahale.metrics.Timer timer); @Override void update(long duration, TimeUnit unit);  }### Answer:
@Test public void testUpdate() { assertEquals(0, timer.getCount()); timerWrapper.update(100, TimeUnit.NANOSECONDS); assertEquals(1, timer.getCount()); }