### Question:
FreezableList extends TransformedList<E, E> { public FreezableList(EventList<E> source) { super(source); source.addListEventListener(this); } FreezableList(EventList<E> source); @Override E get(int index); @Override int size(); boolean isFrozen(); void freeze(); void thaw(); @Override void listChanged(ListEvent<E> listChanges);  }### Answer:
@Test public void testFreezableList() { EventList<String> source = new BasicEventList<>(); FreezableList<String> freezable = new FreezableList<>(source); ListConsistencyListener.install(freezable); source.addAll(GlazedListsTests.stringToList("ROUGHRIDERS")); assertEquals(GlazedListsTests.stringToList("ROUGHRIDERS"), freezable); freezable.freeze(); source.removeAll(GlazedListsTests.stringToList("R")); assertEquals(GlazedListsTests.stringToList("OUGHIDES"), source); assertEquals(GlazedListsTests.stringToList("ROUGHRIDERS"), freezable); freezable.thaw(); source.removeAll(GlazedListsTests.stringToList("R")); assertEquals(GlazedListsTests.stringToList("OUGHIDES"), freezable); }