Bug 166600 [DataBinding] Refactor tests to be in the correct packages
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/internal/databinding/internal/viewers/SelectionProviderSingleSelectionObservableValueTest.java
assertNull(listener.event.diff.getOldValue());
        assertEquals(model[0], listener.event.diff.getNewValue());
        assertEquals(observable, listener.event.getObservableValue());
        assertEquals(model[0], observable.getValue());
        selectionProvider.setSelection(new StructuredSelection(model[1]));
        assertEquals(2, listener.count);
        assertEquals(model[0], listener.event.diff.getOldValue());
        assertEquals(model[1], listener.event.diff.getNewValue());
        assertEquals(observable, listener.event.getObservableValue());
        assertEquals(model[1], observable.getValue());
        selectionProvider.setSelection(StructuredSelection.EMPTY);
        assertEquals(3, listener.count);
        assertEquals(model[1], listener.event.diff.getOldValue());
        assertNull(listener.event.diff.getNewValue());
        assertEquals(observable, listener.event.getObservableValue());
        assertEquals(null, observable.getValue());
    }
    private class ContentProvider implements IStructuredContentProvider {
        public void dispose() {
            
        }
        public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
            
        }
        public Object[] getElements(Object inputElement) {
            return (String[]) inputElement;
        }
    }
}