test(java-cache): CachePropertiesTest case 2/2
This commit is contained in:
1 parent
a6f45f8c7d
commit
b8fab2667c
1 file changed
+4
+4
@@ -15,4 +15,8 @@ class CachePropertiesTest {
|
||||
assertEquals(Duration.ofMinutes(5), props.ttl());
|
||||
}
|
||||
|
||||
@Test
|
||||
void ttlIsRequired() {
|
||||
assertNotNull(new CacheProperties(1, Duration.ofSeconds(1)).ttl());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user