Bug 166600 [DataBinding] Refactor tests to be in the correct packages
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/internal/databinding/BindingStatusTest.java
public void testExceptionIsFromStatus() throws Exception {
		IllegalArgumentException e = new IllegalArgumentException();
		Status status = new Status(0, Policy.JFACE_DATABINDING, 0, "", e);
		
		bindingStatus.add(status);
		assertEquals(e, bindingStatus.getException());
	}
	
	public void testPluginIsFromStatus() throws Exception {
		String plugin = "test";
		Status status = new Status(0, plugin, 0, "", null);
		
		bindingStatus.add(status);
		assertEquals(plugin, bindingStatus.getPlugin());
	}
	
	public void testCodeIsFromStatus() throws Exception {
		int code = 1;
		Status status = new Status(0, Policy.JFACE_DATABINDING, code, "", null);
		
		bindingStatus.add(status);
		assertEquals(code, status.getCode());
	}
	
	public void testSeverityIsFromStatus() throws Exception {
		IStatus status = ValidationStatus.error("");
		
		bindingStatus.add(status);
		assertEquals(IStatus.ERROR, status.getSeverity());