Bug 252117 [DataBinding] ListBinding does not update from model to target in some cases
tests/org.eclipse.jface.tests.databinding.conformance/src/org/eclipse/jface/databinding/conformance/MutableObservableListContractTest.java
assertContainsDuringChangeEvent(new Runnable() {
			public void run() {
				list.set(0, element2);
			}
		}, "List.set(int, Object)", list, element2);
	}
	public void testSet_ListDiffEntry() throws Exception {
		list.add(delegate.createElement(list));
		Object oldElement = delegate.createElement(list);
		list.add(oldElement);
		ListChangeEventTracker listener = ListChangeEventTracker.observe(list);
		Object newElement = delegate.createElement(list);
		list.set(1, newElement);
		ListDiffEntry[] entries = listener.event.diff.getDifferences();
		assertEquals(
				"List.set(int, Object) should result in 2 list diff entries.",
				2, entries.length);
		ListDiffEntry remove = entries[0];
		assertFalse(remove.isAddition());
		assertEquals(
				"List.set(int, Object) removed element should be the old element.",
				oldElement, remove.getElement());
		assertEquals(
				"List.set(int, Object) removed index should be the index the new element was set at.",
				1, remove.getPosition());
		ListDiffEntry add = entries[1];
		assertTrue(add.isAddition());
		assertEquals(
				"List.set(int, Object) added element should be the set element.",
				newElement, add.getElement());