use of org.mifos.platform.questionnaire.exceptions.BadNumericResponseException in project head by mifos.
the class ValidationExceptionMessageExtractorTest method testBadNumericResponseExceptionUpperBoundOnly.
@Test
public void testBadNumericResponseExceptionUpperBoundOnly() {
BadNumericResponseException e = new BadNumericResponseException("Title", null, 100);
testBadNumericResponseException(e, "questionnaire.invalid.numeric.max.response");
}
use of org.mifos.platform.questionnaire.exceptions.BadNumericResponseException in project head by mifos.
the class ValidationExceptionMessageExtractorTest method testBadNumericResponseExceptionNoBound.
@Test
public void testBadNumericResponseExceptionNoBound() {
BadNumericResponseException e = new BadNumericResponseException("Title", null, null);
testBadNumericResponseException(e, "questionnaire.invalid.numeric.response");
}
Aggregations