### Question:
RedisCache extends AbstractRemoteCache { public void delete(String key) { RBucket<byte[]> bucket = getClient().getBucket(key, ByteArrayCodec.INSTANCE); bucket.delete(); } RedisCache(); byte[] get(String key); void set(String key, byte[] value); void set(String key, byte[] value, int expireIn); void delete(String key); Lock acquireLock(String lockName); @Override CheckResult checkConnection();  }### Answer:
@Test public void testDelete() { RBucket<byte[]> bucket = client.getBucket("test", ByteArrayCodec.INSTANCE); bucket.set("abcd".getBytes()); cache.delete("test"); assertNull(cache.get("test")); assertNull(bucket.get()); }