assertFalse("createMethodValidationRule on configuration was not called", list.isEmpty());
}
public void testCreateMethodValidationRule() throws Exception {
loader.setFunctionExpressionParser(new OgnlFunctionExpressionParser());
loader.setConditionExpressionParser(new OgnlConditionExpressionParser());
ValidationMethodValidationRule rule = loader.createMethodValidationRule(TestBean.class, "validate", "code", "message", "'a', 'b', 'c'", "bla", "true");
TestBean testBean = new TestBean() {
public boolean validate() {
return false;