Bug 166600 [DataBinding] Refactor tests to be in the correct packages
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/observable/list/WritableListTest.java
ListChangeListener listener = new ListChangeListener();
        list.addListChangeListener(listener);
        assertEquals(0, listener.count);
        
        list.removeAll(Arrays.asList(new String[] {element}));
        assertEquals(1, listener.count);
        
        assertEquals(1, listener.event.diff.getDifferences().length);
        ListDiffEntry diffEntry = listener.event.diff.getDifferences()[0];
        assertFalse("addition", diffEntry.isAddition());
        assertEquals("element", element, diffEntry.getElement());
        assertEquals("position", 0, diffEntry.getPosition());
        assertFalse(list.contains(element));
    }
	public void testSetRealmChecks() throws Exception {
		RealmTester.exerciseCurrent(new Runnable() {
			public void run() {
				WritableList list = new WritableList();
				list.add("");
				list.set(0, "");
			}
		});
	}
	public void testAddRealmChecks() throws Exception {
		RealmTester.exerciseCurrent(new Runnable() {
			public void run() {
				WritableList list = new WritableList();
				list.add("");
			}
		});