@Test
public void testRequiredAndVisibleField() throws Exception {

	mockDDMFormEvaluator(
		HashMapBuilder.<String, Object>put(
			"visible", true
		).build());
	_addRecordMVCCommandHelper.updateRequiredFieldsAccordingToVisibility(
		_actionRequest, _ddmForm, _ddmFormValues, LocaleUtil.US);
	Assert.assertTrue(_ddmFormField.isRequired());
}