### Question:
MetricsImpl implements Metrics { @Override public long getEnd() { return end; } MetricsImpl(long start, long end, long initialValue);  MetricsImpl(long start, long end); @Override void add(long delta); @Override long getValue(); @Override long getStart(); @Override long getEnd();  }### Answer:
@Test public void getEnd() { long endTime = SystemClock.elapsedRealtime(); Metrics metrics = new MetricsImpl(0, endTime); assertThat(metrics.getStart()).isEqualTo(endTime); }