  @Test
  public void clear() throws Exception {

    try (SimpleStore store = SimpleStoreFactory.create(directoryProvider, SAMPLE_SCOPE)) {
      store.put(TEST_KEY, new byte[1]).get();
      store.clear().get();
      ListenableFuture<byte[]> empty = store.get(TEST_KEY);
      assertThat(empty.get()).isEmpty();
    }
  }