### Question:
SimpleTimeService implements TimeService { @Override public Pair<Long, Integer> now() { return now(Calendar.getInstance()); }  @Override Pair<Long, Integer> now(); String offsetToString(int minutes);  }### Answer:
@Test public void testNow() { Calendar when = Calendar.getInstance(TimeZone.getTimeZone("CET")); when.setTimeInMillis(1* WEEK + 3* DAY); Pair<Long,Integer> time = timeService.now(when); assertThat(time).isNotNull(); assertThat(time.getU()).isEqualTo(60); assertThat(time.getT()).isEqualTo(10* DAY); }