@Test
public void success()
{
FieldValidatorSource source = newFieldValidatorSource();
ComponentResources container = newComponentResources();
ComponentResources component = newComponentResources();
FieldComponent instance = newMock(FieldComponent.class);
Location l = newLocation();
FieldValidator validator = newFieldValidator();
String expression = "required,minLength=5";
train_getComponent(component, instance);
expect(source.createValidators(instance, expression)).andReturn(validator);
replay();
BindingFactory factory = new ValidateBindingFactory(source);