@Test
public void shouldRecordTickDuration() {

  String type = "dummy-tick";
  when(registry.getOrAdd(TICK_DURATION.tagged("type", type), HISTOGRAM)).thenReturn(histogram);
  stats.recordTickDuration(type, 100L);
  verify(histogram).update(100L);
}