### Question:
FeatureAdminData { public void clearFeatures() { this.features.clear(); } FeatureAdminData();  FeatureAdminData(Set<String> features, Type type); void addFeatures(Set<String> toAdd); void addFeature(String toAdd); void clearFeatures(); void removeFeatures(Set<String> toRemove); void removeFeature(String toRemove); Set<String> getFeatures(); Type getType(); void setType(Type type); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void testClearFeatures() { validateDefaultFeatures(); whitelistData.clearFeatures(); blacklistData.clearFeatures(); nullData.clearFeatures(); defaultData.clearFeatures(); assertEquals(Sets.newHashSet(), whitelistData.getFeatures()); assertEquals(Sets.newHashSet(), blacklistData.getFeatures()); assertEquals(Sets.newHashSet(), nullData.getFeatures()); assertEquals(Sets.newHashSet(), defaultData.getFeatures()); }