### Question:
Filter { boolean isExpired() { return Instant.now().isAfter(expireTime); } Filter(final String id);   }### Answer:
@Test public void filterJustCreatedShouldNotBeExpired() { final BlockFilter filter = new BlockFilter("foo"); assertThat(filter.isExpired()).isFalse(); }