void (MultiMap<String, String> map) { map.putValue("foo", "bar"); map.putValue("foo", "bar2"); assertThat(map.freezeValues().size()).isEqualTo(1); assertThatThrownBy(() -> { map.freezeValues().remove("foo"); map.get("foo").remove("bar"); }).isInstanceOf(UnsupportedOperationException.class); }