@Test public void testFixedTimeProvider() { Date fixed = new Date(); TimeProvider provider = TimeProviders.getFixedTimeInstance(fixed); assertTrue("FixedTimeProvider should return fixed date", provider.now().equals(fixed)); }
public static FixedTimeProvider getFixedTimeInstance(Date d) { return new FixedTimeProvider(d); }
TimeProviders { public static FixedTimeProvider getFixedTimeInstance(Date d) { return new FixedTimeProvider(d); } }
TimeProviders { public static FixedTimeProvider getFixedTimeInstance(Date d) { return new FixedTimeProvider(d); } private  TimeProviders(); }
TimeProviders { public static FixedTimeProvider getFixedTimeInstance(Date d) { return new FixedTimeProvider(d); } private  TimeProviders(); static TimeProvider getInstance(); static TimeProvider getInstance(TimeZone tz); static FixedTimeProvider getFixedTimeInstance(Date d); }
TimeProviders { public static FixedTimeProvider getFixedTimeInstance(Date d) { return new FixedTimeProvider(d); } private  TimeProviders(); static TimeProvider getInstance(); static TimeProvider getInstance(TimeZone tz); static FixedTimeProvider getFixedTimeInstance(Date d);  }