}
public void testValidateRejectNull()
{
MockControl converterControl = newControl(ValueConverter.class);
ValueConverter converter = (ValueConverter) converterControl.getMock();
ValidatableFieldSupportImpl support = new ValidatableFieldSupportImpl();
support.setThreadLocale(newThreadLocale());
support.setValueConverter(converter);
MockControl fieldControl = newControl(TranslatedField.class);
TranslatedField field = (TranslatedField) fieldControl.getMock();
IMarkupWriter writer = newWriter();
IRequestCycle cycle = newCycle();
MockControl validatorControl = newControl(Validator.class);
Validator validator = (Validator) validatorControl.getMock();
field.getValidators();
fieldControl.setReturnValue(validator);
converter.coerceValue(validator, Iterator.class);
converterControl.setReturnValue(Collections.singleton(validator).iterator());
validator.getAcceptsNull();
validatorControl.setReturnValue(false);