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/beans/JavaBeanObservableListTest.java
private JavaBeanObservableList observableList;
	private PropertyDescriptor propertyDescriptor;
	private Bean bean;
	private String propertyName;
	
	/*
	 * (non-Javadoc)
	 * 
	 * @see junit.framework.TestCase#setUp()
	 */
	protected void setUp() throws Exception {
		super.setUp();
		
		propertyName = "list";
		propertyDescriptor = new PropertyDescriptor(propertyName, Bean.class);
		bean = new Bean();
		
		observableList = new JavaBeanObservableList(SWTObservables
				.getRealm(Display.getDefault()), bean, propertyDescriptor,
				Bean.class);
	}
	public void testGetObserved() throws Exception {
		assertEquals(bean, observableList.getObserved());
	}
	public void testGetPropertyDescriptor() throws Exception {
		assertEquals(propertyDescriptor, observableList.getPropertyDescriptor());
	}
	
	public void testRegistersListenerAfterFirstListenerIsAdded() throws Exception {
		assertFalse(bean.changeSupport.hasListeners(propertyName));