sup.removePropertyChangeListener("myProp", l1);
assertEquals(0, sup.getPropertyChangeListeners().length);
assertEquals(0, sup.getPropertyChangeListeners("myProp").length);
PropertyChangeListener l2 = new MockPropertyChangeListener();
PropertyChangeListener l3 = new PropertyChangeListenerProxy("myProp",
l2);
sup.addPropertyChangeListener(l3);
assertEquals(1, sup.getPropertyChangeListeners().length);
sup.removePropertyChangeListener("myProp", l2);
assertEquals(0, sup.getPropertyChangeListeners().length);