Bug 265878 [DataBinding] Compile errors ("never used locally") in tests and examples
using I20090217-2200.
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/databinding/DatabindingContextTest.java
public IStatus validate(Object value) {
				return ValidationStatus.error("error");
			}
		}
		Binding binding = dbc.bindValue(target, model,
				new UpdateValueStrategy().setAfterConvertValidator(new Validator()), null);
		assertEquals(IStatus.ERROR, ((IStatus) binding.getValidationStatus()
				.getValue()).getSeverity());
	}
	
	protected void assertNoErrorsFound() {
		IStatus status = AggregateValidationStatus.getStatusMaxSeverity(dbc.getBindings());
		assertTrue("No errors should be found, but found " + status , status.isOK());
	}
	protected void assertErrorsFound() {
		IStatus status = AggregateValidationStatus.getStatusMaxSeverity(dbc.getBindings());
		assertFalse("Errors should be found, but found none.", status.isOK());
	}
	private static class BindingStub extends Binding {