replay();
writer.element("input", "type", "text", "name", "ex", "class", "foo", "value", "freddy", "size", "30");
ValidationDecorator decorator = new DefaultValidationDecorator(env, null, null, writer);
decorator.insideField(field);
assertEquals(writer.toString(), "<?xml version=\"1.0\"?>\n" +
"<input size=\"30\" value=\"freddy\" class=\"foo t-error\" name=\"ex\" type=\"text\"/>");
verify();