@Test public void nowReturnsALong() throws Exception { SystemTimeProvider timeProvider = new SystemTimeProvider(); Assert.assertThat(timeProvider.now(), any(Long.class)); }
@Override public long now() { return System.currentTimeMillis(); }
SystemTimeProvider implements TimeProvider { @Override public long now() { return System.currentTimeMillis(); } }
SystemTimeProvider implements TimeProvider { @Override public long now() { return System.currentTimeMillis(); } @Inject  SystemTimeProvider(); }
SystemTimeProvider implements TimeProvider { @Override public long now() { return System.currentTimeMillis(); } @Inject  SystemTimeProvider(); @Override long now(); }
SystemTimeProvider implements TimeProvider { @Override public long now() { return System.currentTimeMillis(); } @Inject  SystemTimeProvider(); @Override long now();  }