@Override
  public void reset() {
    value.set(0L);
    dirty.reset();
  }
@Test
  public void testReset() {
    CounterCell counterCell = new CounterCell(MetricName.named("namespace", "name"));
    counterCell.inc(1);
    Assert.assertNotEquals(counterCell.getDirty(), new DirtyState());
    assertThat(counterCell.getCumulative(), equalTo(1L));

    counterCell.reset();
    assertThat(counterCell.getCumulative(), equalTo(0L));
    assertThat(counterCell.getDirty(), equalTo(new DirtyState()));
  }