TranslatedField field = newMock(TranslatedField.class);
IMarkupWriter writer = newWriter();
IRequestCycle cycle = newCycle();
Validator validator = newMock(Validator.class);
expect(field.getValidators()).andReturn(validator);
expect(converter.coerceValue(validator, Iterator.class))
.andReturn(Collections.singleton(validator).iterator());
support.setThreadLocale(newThreadLocale());
support.setValueConverter(converter);
expect(validator.getAcceptsNull()).andReturn(false);
try
{
replay();