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/ListenerSupportTest.java
private PropertyChangeListenerStub listener;
	private String propertyName;
	protected void setUp() throws Exception {
		super.setUp();
		listener = new PropertyChangeListenerStub();
		propertyName = "value";
	}
	public void testAddPropertyChangeListenerWithPropertyName()
			throws Exception {
		SpecificListenerBean bean = new SpecificListenerBean();
		ListenerSupport support = new ListenerSupport(listener, propertyName);
		assertFalse(bean.changeSupport.hasListeners(propertyName));
		assertNull(support.getHookedTargets());
		
		support.hookListener(bean);
		assertTrue("has listeners", bean.changeSupport.hasListeners(propertyName));
		assertTrue("hooked target", Arrays.asList(support.getHookedTargets()).contains(bean));
	}
	public void testAddPropertyChangeListenerWithoutPropertyName()
			throws Exception {
		GenericListenerBean bean = new GenericListenerBean();
		ListenerSupport support = new ListenerSupport(listener, propertyName);
		assertFalse(bean.changeSupport.hasListeners(propertyName));
		assertNull(support.getHookedTargets());
		
		support.hookListener(bean);
		assertTrue("has listeners", bean.changeSupport.hasListeners(propertyName));
		assertTrue("hooked target", Arrays.asList(support.getHookedTargets()).contains(bean));
	}