assertEquals(1L, f.clean(new String[]{"1"}, errors));
assertTrue(errors.isEmpty());
errors = new HashMap<String, String>();
f.clean(new String[]{"John"}, errors);
assertEquals("Select a valid choice. That choice is not one of the available choices.", errors.get("choice_field"));
}
public void testBlankIsAnOption() throws Exception {
Map<String, String> choices = new HashMap<String, String>();