GuavaMache implements Mache<K, V> { @Override public void put(K key, V value) { cache.put(key, value); cacheLoader.put(key, value); } GuavaMache(final MacheLoader<K, V> cacheLoader, LoadingCache<K, V> cache); @Override String getName(); @Override UUID getId(); @Override V get(final K key); @Override void put(K key, V value); @Override void remove(K key); @Override void invalidateAll(); @Override void invalidate(K key); @Override void close(); @Override MacheLoader<K, V> getCacheLoader();  }
@Test public void canWriteThrough() throws ExecutionException { mache.put("TEST", "VALUE"); assertEquals(1, put); }