@Test public void correctTimeIsReturned() { assertThat(new SystemClock().currentTimeMillis()).isCloseTo(currentTimeMillis(), within(150L)); }
@Override public long currentTimeMillis() { return System.currentTimeMillis(); }
SystemClock implements Clock { @Override public long currentTimeMillis() { return System.currentTimeMillis(); } }
SystemClock implements Clock { @Override public long currentTimeMillis() { return System.currentTimeMillis(); }  }
SystemClock implements Clock { @Override public long currentTimeMillis() { return System.currentTimeMillis(); }  @Override long currentTimeMillis(); }
SystemClock implements Clock { @Override public long currentTimeMillis() { return System.currentTimeMillis(); }  @Override long currentTimeMillis();  }