KamonCounter implements Counter { @Override public long getCount() { return getSnapshot(); } private  KamonCounter(final String name, final Map<String, String> tags); static KamonCounter newCounter(final String name); static KamonCounter newCounter(final String name, final Map<String, String> tags); @Override KamonCounter tag(final String key, final String value); @Override KamonCounter tags(final Map<String, String> tags); @Nullable @Override String getTag(final String key); @Override Map<String, String> getTags(); @Override KamonCounter increment(); @Override KamonCounter increment(final long times); @Override long getCount(); @Override boolean reset(); @Override String toString();  }
@Test public void getCount() { sut.increment(); assertThat(sut.getCount()).isEqualTo(1); }