DelegatingManagedTimestampService implements ManagedTimestampService { @Override public TimestampRange getFreshTimestamps(@QueryParam("number") int numTimestampsRequested) { return timestampService.getFreshTimestamps(numTimestampsRequested); } DelegatingManagedTimestampService(
            TimestampService timestampService,
            TimestampManagementService timestampManagementService); @Override boolean isInitialized(); @Override long getFreshTimestamp(); @Override TimestampRange getFreshTimestamps(@QueryParam("number") int numTimestampsRequested); @Override void fastForwardTimestamp(@QueryParam("currentTimestamp") long currentTimestamp); @Override String ping();  }
@Test public void testGetFreshTimestampsDefersToTimestampService() { managedTimestampService.getFreshTimestamps(FORTY_TWO); verify(timestampService, times(1)).getFreshTimestamps(eq(FORTY_TWO)); }