Experiments implements Closeable { public void delete(String experimentName) { store.delete(experimentName); strategy.onDelete(experimentName, context); } private  Experiments(ExperimentsStoreProvider provider,
                        CacheStrategy strategy,
                        ExecutorService executorService); static Builder using(ExperimentsStoreProvider provider); Treatment getActiveTreatment(String experimentName, Identity identity); Iterable<Experiment> getActiveExperiments(); Map<Experiment, Treatment> getActiveTreatments(Identity identity); Iterable<Experiment> find(Filter filter); Iterable<Experiment> find(); Experiment get(String experimentName); void delete(String experimentName); void save(Experiment experiment); Experiment create(String name); @Override void close();  }
@Test public void testDelete() { experiments.delete("foo"); verify(store).delete(eq("foo")); verifyZeroInteractions(cache); }