Bug 252117 [DataBinding] ListBinding does not update from model to target in some cases
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/beans/JavaBeanObservableListTest.java
assertEntry(event.diff.getDifferences()[1], true, 0, newElement);
	}
	public void testSetPropertyChangeEvent() throws Exception {
		list.add("0");
		assertPropertyChangeEvent(bean, new Runnable() {
			public void run() {
				list.set(0, "1");
			}			
		});
	}
	public void testListChangeEventFiresWhenNewListIsSet() throws Exception {
		List elements = Arrays.asList(new String[] { "1", "2" });
		ListChangeEventTracker listener = new ListChangeEventTracker();
		list.addListChangeListener(listener);
		assertEquals(0, listener.count);
		bean.setList(elements);
		assertEquals(1, listener.count);
	}
	public void testConstructor_RegistersListener() throws Exception {
		Bean bean = new Bean();
		JavaBeanObservableList observable = new JavaBeanObservableList(Realm
				.getDefault(), bean,
				new PropertyDescriptor("list", Bean.class), Bean.class);
		assertFalse(bean.hasListeners("list"));
		ChangeEventTracker.observe(observable);
		assertTrue(bean.hasListeners("list"));
	}
	public void testConstructor_SkipsRegisterListener() throws Exception {
		Bean bean = new Bean();
		JavaBeanObservableList observable = new JavaBeanObservableList(Realm