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