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/JavaBeanObservableValueTest.java
public void testGetPropertyDescriptor() throws Exception {
    	assertEquals(propertyDescriptor, observableValue.getPropertyDescriptor());
	}
    
    public void testRegistersListenerAfterFirstListenerIsAdded() throws Exception {
		assertFalse(bean.changeSupport.hasListeners(propertyName));
		observableValue.addValueChangeListener(new ValueChangeEventTracker());
		assertTrue(bean.changeSupport.hasListeners(propertyName));
	}
    
    public void testRemovesListenerAfterLastListenerIsRemoved() throws Exception {
    	ValueChangeEventTracker listener = new ValueChangeEventTracker();
		observableValue.addValueChangeListener(listener);
		
		assertTrue(bean.changeSupport.hasListeners(propertyName));
		observableValue.removeValueChangeListener(listener);
		assertFalse(bean.changeSupport.hasListeners(propertyName));
	}
    
    public void testFiresValueChangeEvents() throws Exception {
    	ValueChangeEventTracker listener = new ValueChangeEventTracker();
    	observableValue.addValueChangeListener(listener);
    	
    	assertEquals(0, listener.count);
    	bean.setValue(bean.getValue() + bean.getValue());
    	assertEquals(1, listener.count);
	}
}