protected AbstractFormModel getFormModel(BeanPropertyAccessStrategy pas, boolean buffering) {
return new TestDefaultFormModel(pas, buffering);
}
public void testPropertyChangeCausesValidation() {
DefaultFormModel fm = (DefaultFormModel) getFormModel(new TestBean());
TestValidator v = new TestValidator();
fm.setValidator(v);
TestConversionService cs = new TestConversionService();
cs.executer = new ConversionExecutor(String.class, String.class, new CopiedPublicNoOpConverter(String.class, String.class));
fm.setConversionService(cs);