@Test
void getAll() {

    Map<String, byte[]> values = Map.of("key", Strings.bytes("{\"stringField\":\"value\"}"));
    when(redis.multiGetBytes("key")).thenReturn(values);
    Map<String, TestCache> results = cacheStore.getAll(new String[]{"key"}, context);
    assertThat(results).hasSize(1);
    assertThat(results.get("key").stringField).isEqualTo("value");
}