AbstractUIChangeHandler implements PropertyChangeListener { public void uninstall(JComponent c){ c.removePropertyChangeListener("UI", this); installed.remove(c); }  void install(JComponent c); boolean isInstalled(JComponent c); void uninstall(JComponent c);  }
@Test public void testUninstall(){ ch.install(tf); ch.uninstall(tf); tf.updateUI(); Assert.assertFalse(changed); }