@Test
public void testReleaseRemovesListeners() {

    CompoundFocusListener l = new CompoundFocusListener(new JXDatePicker());
    final PropertyChangeReport report = new PropertyChangeReport();
    l.addPropertyChangeListener(report);
    l.release();
    assertRemoved(report, l.getPropertyChangeListeners());
}