### Question:
InMemoryCache { public synchronized ImmutableSet<Feature> getFeatures() { return ImmutableSet.copyOf(features.values()); } @Inject  InMemoryCache(); synchronized void putFeature(Feature feature); void removeFeature(String id); synchronized ImmutableSet<Feature> getFeatures(); void clear(); Optional<Feature> getFeature(String featureId);  }### Answer:
@Test public void getFeatures_emptyIfNoneAdded() { assertThat(inMemoryCache.getFeatures()).isEmpty(); }