@Test(expected = DDMFormFieldValueValidationException.class)
public void testValidationWithNoColumns() throws Exception {

	DDMForm ddmForm = DDMFormTestUtil.createDDMForm();
	DDMFormField ddmFormField = DDMFormTestUtil.createDDMFormField(
		"Grid", "Grid", "grid", "string", false, false, false);
	DDMFormFieldOptions ddmFormFieldRows = new DDMFormFieldOptions();
	ddmFormFieldRows.addOptionLabel(
		"rowValue 1", LocaleUtil.US, "rowLabel 1");
	ddmFormFieldRows.addOptionLabel(
		"rowValue 2", LocaleUtil.US, "rowLabel 2");
	ddmFormField.setProperty("rows", ddmFormFieldRows);
	DDMFormFieldOptions ddmFormFieldColumns = null;
	ddmFormField.setProperty("columns", ddmFormFieldColumns);
	ddmForm.addDDMFormField(ddmFormField);
	DDMFormFieldValue ddmFormFieldValue =
		DDMFormValuesTestUtil.createDDMFormFieldValue(
			"Grid",
			new UnlocalizedValue("{\"rowValue 1\":\"columnValue 1\"}"));
	_gridDDMFormFieldValueValidator.validate(
		ddmFormField, ddmFormFieldValue.getValue());
}