Bug 315281 update copyrights for 3.6
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/beans/JavaBeanObservableListTest.java
bean.setList(Collections.singletonList("new"));
		assertEquals(1, tracker.count);
		List list = new ArrayList();
		list.add("old");
		tracker.event.diff.applyTo(list);
		assertEquals(Collections.singletonList("new"), list);
	}
	public void testModifyObservableList_FiresListChange() {
		Bean bean = new Bean(new ArrayList());
		IObservableList observable = BeansObservables.observeList(bean, "list");
		ListChangeEventTracker tracker = ListChangeEventTracker
				.observe(observable);
		Object element = new Object();
		observable.add(element);
		assertEquals(1, tracker.count);
		assertDiff(tracker.event.diff, Collections.EMPTY_LIST, Collections
				.singletonList(element));
	}
	public void testSetBeanPropertyOutsideRealm_FiresEventInsideRealm() {
		Bean bean = new Bean(Collections.EMPTY_LIST);
		CurrentRealm realm = new CurrentRealm(true);
		IObservableList observable = BeansObservables.observeList(realm, bean,
				"list");
		ListChangeEventTracker tracker = ListChangeEventTracker
				.observe(observable);
		realm.setCurrent(false);
		bean.setList(Collections.singletonList("element"));
		assertEquals(0, tracker.count);
		realm.setCurrent(true);
		assertEquals(1, tracker.count);