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
}
		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");
		InvalidBean bean = new InvalidBean();
		support.hookListener(bean);
		log.count = 0;
		log.status = null;
		assertEquals(0, log.count);
		support.unhookListener(bean);
		assertEquals(1, log.count);
		assertEquals(IStatus.WARNING, log.status.getSeverity());
	}
	static class GenericListenerBean {