@Test
public void testGetActiveTreatments() {

    final Experiment experiment = mock(Experiment.class);
    final Identity identity = mock(Identity.class);
    doReturn(FilterExpression.alwaysTrue()).when(experiment).getFilter();
    doReturn(AttributesMap.empty()).when(identity).computeAttributes();
    doReturn(ImmutableMap.of("foo", experiment))
        .when(cache)
        .getActiveExperiments();
    experiments.getActiveTreatments(identity);
    verifyZeroInteractions(store);
    verify(cache).getActiveExperiments();
}