@Test
    void testNotFindingAValueThatWasNotInserted() {
        Optional<String> foundObject = cache.get("bar", String.class);

        assertThat(foundObject.isPresent())
            .as("When an object that's not in the cache is retrieved, nothing is found")
            .isFalse();
    }
Integration test for Redis-backed cache implementation.
examples/redis-backed-cache/src/test/java/RedisBackedCacheTest.java