### Question:
AbstractFileCache { public synchronized void remove(K key) { this.getCacheFile(key).delete(); } protected  AbstractFileCache(File cacheDirectory, String prefix, String suffix, final int maxAgeInSeconds); synchronized void clear(); synchronized boolean containsKey(K key); synchronized byte[] get(K key); synchronized InputStream getAsInputStream(K key); File getCacheDirectory(); File getCacheFile(K key); synchronized void purge(); synchronized void put(K key, byte[] value); synchronized void putFile(K key, File file, boolean move); synchronized void remove(K key);  }### Answer:
@Test public void testRemove() throws CacheException { byte[] testBytes = "test".getBytes(StandardCharsets.US_ASCII); underTest.put("test", testBytes); underTest.put("test2", testBytes); underTest.remove("test"); assertTrue(underTest.containsKey("test2")); }