use of org.hisp.dhis.dxf2.events.relationship.RelationshipService in project dhis2-core by dhis2.
the class TrackerSynchronizationTest method setUpTest.
@Override
public void setUpTest() {
userService = _userService;
currentSession = sessionFactory.getCurrentSession();
User user = createUser("userUID0001");
currentSession.save(user);
CurrentUserService currentUserService = new MockCurrentUserService(user);
subject = new JacksonTrackedEntityInstanceService(teiService, trackedEntityAttributeService, _relationshipService, relationshipService, relationshipTypeService, trackedEntityAttributeValueService, manager, _userService, dbmsManager, enrollmentService, programInstanceService, currentUserService, schemaService, queryService, reservedValueService, trackerAccessManager, fileResourceService, trackerOwnershipAccessManager, trackedEntityInstanceAggregate, trackedEntityAttributeStore, trackedEntityInstanceAuditService, trackedEntityTypeService, notifier, jsonMapper, xmlMapper);
prepareSyncParams();
prepareDataForTest();
}
Aggregations