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

	DDMForm ddmForm = DDMFormTestUtil.createDDMForm();
	DDMFormField ddmFormField = DDMFormTestUtil.createDDMFormField(
		"Date", "Date", "date", "string", false, false, false);
	ddmForm.addDDMFormField(ddmFormField);
	DDMFormFieldValue ddmFormFieldValue =
		DDMFormValuesTestUtil.createDDMFormFieldValue(
			"Date", new UnlocalizedValue("this-is-not-valid"));
	_dateDDMFormFieldValueValidator.validate(
		ddmFormField, ddmFormFieldValue.getValue());
}