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 testLowerSeverityDoesNotOverwriteGreaterSeverity() throws Exception {
		String info = "info";
		String error = "error";
		
		bindingStatus.add(ValidationStatus.error(error));
		assertEquals(IStatus.ERROR, bindingStatus.getSeverity());
		assertEquals(error, bindingStatus.getMessage());
		
		bindingStatus.add(ValidationStatus.info(info));
		assertEquals(IStatus.ERROR, bindingStatus.getSeverity());
		assertEquals(error, bindingStatus.getMessage());
		
		IStatus[] children = bindingStatus.getChildren();
		assertEquals(2, children.length);
		assertEquals(IStatus.ERROR, children[0].getSeverity());
		assertEquals(IStatus.INFO, children[1].getSeverity());
	}
	
	public void testOkInitializesStatus() throws Exception {
		BindingStatus status = BindingStatus.ok();
		assertEquals(Policy.JFACE_DATABINDING, status.getPlugin());
		assertEquals("", status.getMessage());
		assertEquals(0, status.getCode());
		assertEquals(0, status.getChildren().length);
		assertNull(status.getException());
	}
}