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
public void testChangeListenerIsOnlyNotifiedWhenWatchedPropertyChanges()
			throws Exception {
		GenericListenerBean bean = new GenericListenerBean();
		ListenerSupport support = new ListenerSupport(listener, propertyName);
		support.hookListener(bean);
		assertEquals(0, listener.count);
		bean.setValue("1");
		assertEquals(1, listener.count);
		assertEquals("value", listener.event.getPropertyName());
		bean.setOther("2");
		assertEquals(1, listener.count);
	}
	public void testLogStatusWhenAddPropertyChangeListenerMethodIsNotFound()
			throws Exception {
		class BeanStub {
		}
		class Log implements ILogger {
			int count;
			IStatus status;
			public void log(IStatus status) {
				count++;
				this.status = status;
			}
		}
		Log log = new Log();
		Policy.setLog(log);
		ListenerSupport support = new ListenerSupport(listener, "value");
		BeanStub bean = new BeanStub();
		assertEquals(0, log.count);
		support.hookListener(bean);