### Question:
CentralizedManifest implements Manifest { public boolean isExpired(Instant now) { return refreshedAt.plusSeconds(TTL).isBefore(now); } CentralizedManifest(); LinkedHashMap<String, CentralizedRule> getRules(); @Nullable CentralizedRule getDefaultRule(); boolean isExpired(Instant now); int size(); @Override // TODO(anuraaga): It seems like this should never return null, check where defaultRule is guaranteed to be present and remove @Nullable Rule match(SamplingRequest req, Instant now); void putRules(List<SamplingRule> inputs, Instant now); List<SamplingStatisticsDocument> snapshots(Instant now); void putTargets(List<SamplingTargetDocument> targets, Instant now);  }### Answer:
@Test void testExpirationForNewManifest() { Instant now = Instant.ofEpochSecond(1500000000); CentralizedManifest manifest = new CentralizedManifest(); Assertions.assertTrue(manifest.isExpired(now)); }