### Question:
FeatureAdminData { public void removeFeature(String toRemove) { Set<String> features = createSingleFeatureSet(toRemove); removeFeatures(features, this.features); } 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 testRemoveFeature() { validateDefaultFeatures(); whitelistData.removeFeature(TABS); blacklistData.removeFeature(SELECTION); nullData.removeFeature(TABS); defaultData.removeFeature(TABS); assertEquals(Sets.newHashSet(SETPREFS, VIEWS), whitelistData.getFeatures()); assertEquals(Sets.newHashSet(EE), blacklistData.getFeatures()); assertEquals(Sets.newHashSet(), nullData.getFeatures()); assertEquals(Sets.newHashSet(), defaultData.getFeatures()); }