@Test
public void testProcessDDMFormInstanceReportWithEmptyData()
	throws Exception {

	DDMFormFieldValue ddmFormFieldValue = _mockDDMFormFieldValue(
		"field1", "1");
	long formInstanceRecordId = 1;
	_mockDDMFormInstanceRecord(formInstanceRecordId);
	JSONObject processedFieldJSONObject =
		_numericDDMFormFieldTypeReportProcessor.process(
			ddmFormFieldValue,
			JSONUtil.put(
				"type", DDMFormFieldType.NUMERIC
			).put(
				"values", JSONFactoryUtil.createJSONObject()
			),
			formInstanceRecordId,
			DDMFormInstanceReportConstants.EVENT_ADD_RECORD_VERSION);
	JSONObject summaryJSONObject = processedFieldJSONObject.getJSONObject(
		"summary");
	Assert.assertEquals("1", summaryJSONObject.getString("average"));
	Assert.assertEquals("1", summaryJSONObject.getString("max"));
	Assert.assertEquals("1", summaryJSONObject.getString("min"));
	Assert.assertEquals("1", summaryJSONObject.getString("sum"));
}