@Test
void putWithFailure() {

    var value = new TestCache();
    Duration expiration = Duration.ofHours(1);
    doThrow(new RedisException("unexpected")).when(redis).set("key", context.writer.toJSON(value), expiration, false);
    cacheStore.put("key", value, expiration, context);
}