### Question:
TableMetricHolder implements Closeable { public void lastRepairedAt(long lastRepairedAt) { myLastRepairedAt.set(lastRepairedAt); } TableMetricHolder(TableReference tableReference, MetricRegistry metricRegistry, NodeMetricHolder nodeMetricHolder); void init(); void repairState(int repairedRanges, int notRepairedRanges); void lastRepairedAt(long lastRepairedAt); void repairTiming(long timeTaken, TimeUnit timeUnit, boolean successful); @Override void close();  }### Answer:
@Test public void testUpdateLastRepairedAt() { long expectedLastRepaired = 1234; myTableMetricHolder.lastRepairedAt(expectedLastRepaired); assertThat(getGague(TableMetricHolder.LAST_REPAIRED_AT).getValue()).isEqualTo(expectedLastRepaired); }