Sets { public static <T extends Enum<T>> Set<T> newEnumSet(Class<T> enumClass) { return EnumSet.noneOf(enumClass); }  static Set<T> newHashSet(); static Set<T> newConcurrentHashSet(); static Set<T> newHashSetWithExpectedSize(int size); static Set<T> newEnumSet(Class<T> enumClass);  }
@Test void newEnumSet() { Set<TestEnum> set = Sets.newEnumSet(TestEnum.class); set.add(TestEnum.A); assertThat(set).containsOnly(TestEnum.A); }