TimerFactory implements Supplier<Timer> { @Override public Timer get() { return new Timer(); }  @Override Timer get();  }
@Test public void testGet() { TimerFactory timerFactory = new TimerFactory(); assertThat(timerFactory.get(), notNullValue()); }