@Test
public void testDelete() {

    // Set a key/value
    RBucket<byte[]> bucket = client.getBucket("test", ByteArrayCodec.INSTANCE);
    bucket.set("abcd".getBytes());
    // Let the backend delete the key
    cache.delete("test");
    // Check that the key was deleted
    assertNull(cache.get("test"));
    assertNull(bucket.get());
}