Long fieldValuesId = flv.get(0).getFieldvalues_id();
Long errorValuesId = errorManagement.addErrorValues(
getAvailableErrorValuesId(), errorTypeId, fieldValuesId);
assertNotNull("Errorvalues Id should persists", errorValuesId);
ErrorValues ev = errorManagement.getErrorValuesById(errorValuesId);
assertNotNull("Error type id should not be null", ev.getErrortype_id());
assertEquals("Error type should persists", errorTypeId,
ev.getErrortype_id());
assertNotNull("Fieldvalues should not be null", ev.getFieldvalues_id());
assertEquals("Fieldvalues should persists", fieldValuesId,
ev.getFieldvalues_id());
}