Bug 172765 [DataBinding] Consistency when registering property change listeners
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/internal/databinding/internal/beans/JavaBeanObservableSetTest.java
private JavaBeanObservableSet observableSet;
	private Bean model;
	private PropertyDescriptor propertyDescriptor;
	/*
	 * (non-Javadoc)
	 * 
	 * @see junit.framework.TestCase#setUp()
	 */
	protected void setUp() throws Exception {
		model = new Bean();
		propertyDescriptor = new PropertyDescriptor("set", Bean.class);
		observableSet = new JavaBeanObservableSet(SWTObservables
				.getRealm(Display.getDefault()), model, propertyDescriptor,
				Bean.class);
	}
	public void testGetObserved() throws Exception {
		assertEquals(model, observableSet.getObserved());
	}
	public void testGetPropertyDescriptor() throws Exception {
		assertEquals(propertyDescriptor, observableSet.getPropertyDescriptor());
	}
	
	public void testGetElementType() throws Exception {
		assertEquals(Bean.class, observableSet.getElementType());
	}
}