/** Verify the cache can put and delete a KV pair successfully. */ @Test public void singlePutAndDel() { KVCache cache = new KVCache(1, 4); cache.put("hello", "world"); assertEquals("world", cache.get("hello")); cache.del("hello"); assertEquals(null, cache.get("hello")); System.out.println("Test2 Success"); }