public void reset() {
    lastSampleTimeMillis = 0;
  }
@Test
  public void testReset() throws Exception {
    sampler.lastSampleTimeMillis = 100L;
    sampler.reset();
    assertThat(sampler.lastSampleTimeMillis, equalTo(0L));
  }