NullCacheImplementation implements Cache { @Override public void remove(String key) {}  @Override void put(String key, Serializable value); @Override void put(String key, Object value); @Override Object get(String key); @Override void remove(String key); @Override List<String> getKeys(); @Override void clear(); @Override int size(); @Override void put(String key, Serializable value, long ttl); @Override void put(String key, Object value, long ttl);  }
@Test public void testRemove() throws Exception { NullCacheImplementation cache = new NullCacheImplementation(); initAndStart(cache); try { cache.remove("one"); cache.remove("two"); cache.remove("three"); cache.remove("something"); } finally { stopAndClose(cache); } }