test(java-cache): CachePropertiesTest case 2/2

This commit is contained in:
hoelee committed 2026-04-06 12:17:00 +08:00
1 parent a6f45f8c7d
commit b8fab2667c
1 file changed
+4
@@ -15,4 +15,8 @@ class CachePropertiesTest {
assertEquals(Duration.ofMinutes(5), props.ttl());
}
@Test
void ttlIsRequired() {
assertNotNull(new CacheProperties(1, Duration.ofSeconds(1)).ttl());
}
}