@Test public void testGetActiveExperiments() { experiments.getActiveExperiments(); verifyZeroInteractions(store); verify(cache).getActiveExperiments(); }
public Iterable<Experiment> getActiveExperiments() { strategy.onCacheRead(context); return Iterables.unmodifiableIterable(cache.getActiveExperiments().values()); }
Experiments implements Closeable { public Iterable<Experiment> getActiveExperiments() { strategy.onCacheRead(context); return Iterables.unmodifiableIterable(cache.getActiveExperiments().values()); } }
Experiments implements Closeable { public Iterable<Experiment> getActiveExperiments() { strategy.onCacheRead(context); return Iterables.unmodifiableIterable(cache.getActiveExperiments().values()); } private  Experiments(ExperimentsStoreProvider provider,
                        CacheStrategy strategy,
                        ExecutorService executorService); }
Experiments implements Closeable { public Iterable<Experiment> getActiveExperiments() { strategy.onCacheRead(context); return Iterables.unmodifiableIterable(cache.getActiveExperiments().values()); } 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(); }
Experiments implements Closeable { public Iterable<Experiment> getActiveExperiments() { strategy.onCacheRead(context); return Iterables.unmodifiableIterable(cache.getActiveExperiments().values()); } 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();  }