@Test
public void testDropwizardCount() {

    MetricRegistry reg = new MetricRegistry();
    DropWizardMetricsRegistry dwreg = new DropWizardMetricsRegistry(Clock.SYSTEM, reg);
    Counter counter1 = dwreg.counter(dwreg.createId("a.b.c"));
    counter1.inc(5);
    com.codahale.metrics.Counter counter2 = reg.counter("a.b.c");
    System.out.println(counter2.getCount());
    Assert.assertEquals(5, counter2.getCount());
}