@Override
  public void run() {
    long javaUptimeInMilliseconds = ManagementFactory.getRuntimeMXBean().getUptime();
    metrics.setWebUptimeMinutes(javaUptimeInMilliseconds / (1000 * 60));
  }
@Test
  public void run_metricsAreUpdatedAlways() {
    underTest.run();

    verify(metrics, times(1)).setWebUptimeMinutes(anyLong());
  }