### Question:
GuavaBasicCache implements GuavaCache<K, V> { @SuppressWarnings("unchecked") public static <K,V> GuavaBasicCache<K,V> permanent(String name) { return new GuavaBasicCache(name,CacheBuilder.newBuilder()); } private  GuavaBasicCache(String name, CacheBuilder<Object, Object> bldr); @SuppressWarnings("unchecked") static GuavaBasicCache<K,V> nonCaching(String name); @SuppressWarnings("unchecked") static GuavaBasicCache<K,V> permanent(String name); @SuppressWarnings("unchecked") static GuavaBasicCache<K,V> fromSpec(String name, CacheBuilderSpec spec); @SuppressWarnings("unchecked") static GuavaBasicCache<K,V> fromSpec(String name, String spec); @Override com.google.common.cache.Cache<K,V> getGuava(); @Override void put(K key, V value); @Override V get(K key); @Override V getIfPresent(K key); @Override V get(K key, Callable<? extends V> valueLoader); @Override void remove(K key); @Override void clear(); @Override String getCacheName(); @Override void putAll(Map<K, V> map); @Override int getSize(); @Override void cleanUp(); @Override ConcurrentMap<K,V> asMap(); @Override ImmutableMap<K,V> getAllPresent(Iterable<?> keys); @Override CacheStats getStats(); @Override void refresh(K key); @Override ImmutableMap<K, V> getAll(Iterable<? extends K> keys);  }### Answer:
@Test public void testPermanent() throws Exception { System.out.println("GuavaBasicCache.permanent"); String key = "TEST"; GuavaBasicCache<String,Integer> cache = GuavaBasicCache.permanent("Blah"); assertEquals(0, cache.getSize()); cache.put(key, 1); assertEquals(1, cache.getSize()); Integer value = cache.get(key); assertNotNull(value); }