Bug 198904 [DataBinding] Listeners in swt Observables are not removed on dispose
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/internal/databinding/internal/swt/ComboObservableValueTest.java
public void testSetValueText() throws Exception {
        Shell shell = new Shell();
        Combo combo = new Combo(shell, SWT.NONE);
        ComboObservableValue observableValue = new ComboObservableValue(combo, SWTProperties.TEXT);
        assertEquals("", combo.getText());
        assertEquals("", observableValue.getValue());
        String value = "value";
        observableValue.setValue(value);
        assertEquals("combo text", value, combo.getText());
        assertEquals("observable value", value, observableValue.getValue());
        shell.dispose();
    }
}