@Test(expected = UnsupportedOperationException.class) public void addStuffToCollection() { ImmutableList<String> strings = ImmutableList.copyOf(getStrings()); strings.add("dates"); }