Validator validator = newValidator();
IBeanProvider provider = newBeanProvider("fred", validator);
IComponent component = newComponent(provider);
IFormComponent field = newField();
ValidationMessages messages = newMessages();
Object value = new Object();
validator.validate(field, messages, value);
replay();