@Test
public void testObject() {

    final String key = "object";
    Object result1 = cache.get(key, new Callable<Object>() {
        @Override
        public Object call() throws Exception {
            return new Object();
        }
    });
    Object result2 = cache.get(key, new Callable<Object>() {
        @Override
        public Object call() throws Exception {
            return new Object();
        }
    });
    assertEquals(result1, result2);
}