DelegatingManagedTimestampService implements ManagedTimestampService { @Override public boolean isInitialized() { return timestampService.isInitialized(); } 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 testIsInitializedDefersToTimestampService() { when(timestampService.isInitialized()) .thenReturn(false) .thenReturn(true); assertFalse(managedTimestampService.isInitialized()); assertTrue(managedTimestampService.isInitialized()); }