@Test
public void immutableList() throws Exception {

    assertThrows(UnsupportedOperationException.class, () -> {
        List<String> xs = Utils.unmodifiableList(new ArrayList<>());
        xs.add("element");
    });
}