use of org.hisp.dhis.render.DefaultRenderService in project dhis2-core by dhis2.
the class TrackerImportControllerTest method setUp.
@BeforeEach
public void setUp() {
renderService = new DefaultRenderService(JacksonObjectMapperConfig.jsonMapper, JacksonObjectMapperConfig.xmlMapper, mock(SchemaService.class));
// Controller under test
final TrackerImportController controller = new TrackerImportController(importStrategy, trackerImportService, csvEventService, new DefaultContextService(), notifier);
mockMvc = MockMvcBuilders.standaloneSetup(controller).build();
}
Aggregations