@SuppressWarnings("unchecked")
@Test
public void simple_macro_expansion() throws Exception
{
ValidatorMacro macro = mockValidatorMacro();
expect(macro.valueForMacro("combo")).andReturn("required,minlength=5");
expect(macro.valueForMacro("required")).andReturn(null);
expect(macro.valueForMacro("minlength")).andReturn(null);
replay();
FieldValidatorSourceImpl source = new FieldValidatorSourceImpl(null, null, null, null, macro);