@Test void getMaxAgeForSlot_shouldSetIfFinalized() { when(provider.isFinalized(ZERO)).thenReturn(true); String cacheControl = CacheControlUtils.getMaxAgeForSlot(provider, ZERO); assertThat(cacheControl).isEqualTo(CACHE_FINALIZED); }
public static String getMaxAgeForSlot(ChainDataProvider provider, UInt64 slot) { return provider.isFinalized(slot) ? CACHE_FINALIZED : CACHE_NONE; }
CacheControlUtils { public static String getMaxAgeForSlot(ChainDataProvider provider, UInt64 slot) { return provider.isFinalized(slot) ? CACHE_FINALIZED : CACHE_NONE; } }
CacheControlUtils { public static String getMaxAgeForSlot(ChainDataProvider provider, UInt64 slot) { return provider.isFinalized(slot) ? CACHE_FINALIZED : CACHE_NONE; }  }
CacheControlUtils { public static String getMaxAgeForSlot(ChainDataProvider provider, UInt64 slot) { return provider.isFinalized(slot) ? CACHE_FINALIZED : CACHE_NONE; }  static String getMaxAgeForSignedBlock(
      ChainDataProvider provider, SignedBeaconBlock signedBeaconBlock); static String getMaxAgeForSlot(ChainDataProvider provider, UInt64 slot); static String getMaxAgeForEpoch(ChainDataProvider provider, UInt64 epoch); static String getMaxAgeForBeaconState(
      ChainDataProvider provider, BeaconState beaconState); }
CacheControlUtils { public static String getMaxAgeForSlot(ChainDataProvider provider, UInt64 slot) { return provider.isFinalized(slot) ? CACHE_FINALIZED : CACHE_NONE; }  static String getMaxAgeForSignedBlock(
      ChainDataProvider provider, SignedBeaconBlock signedBeaconBlock); static String getMaxAgeForSlot(ChainDataProvider provider, UInt64 slot); static String getMaxAgeForEpoch(ChainDataProvider provider, UInt64 epoch); static String getMaxAgeForBeaconState(
      ChainDataProvider provider, BeaconState beaconState); static final String CACHE_NONE; static final String CACHE_FINALIZED; }