@Test
void unmodifiableSet() {

    final String[] words = {"A", "B", "C"};
    final Set<String> set = SetUtil.unmodifiableSet(words);
    assertEquals(Stream.of(words).collect(toSet()), set);
    assertThrows(UnsupportedOperationException.class, set::clear);
}