use of org.hisp.dhis.mock.MockI18n in project dhis2-core by dhis2.
the class DataEntryFormServiceTest method setUpTest.
// -------------------------------------------------------------------------
// Fixture
// -------------------------------------------------------------------------
@Override
public void setUpTest() throws Exception {
periodType = new MonthlyPeriodType();
dataElement = createDataElement('A');
dataElementService.addDataElement(dataElement);
categoryOptionCombo = categoryService.getDefaultDataElementCategoryOptionCombo();
dataElementUid = dataElement.getUid();
categoryOptionComboUid = categoryOptionCombo.getUid();
i18n = new MockI18n();
}
Aggregations