use of fi.otavanopisto.pyramus.rest.model.Student in project muikku by otavanopisto.
the class TestUtilities method studentFromMockStudent.
public static Student studentFromMockStudent(MockStudent mockStudent) {
Map<String, String> variables = new HashMap<>();
List<String> tags = new ArrayList<>();
Student student = new Student(mockStudent.getId(), mockStudent.getPersonId(), mockStudent.getFirstName(), mockStudent.getLastName(), null, null, null, null, null, null, null, null, null, null, mockStudent.getStudyEndTime(), mockStudent.getStudyProgrammeId(), null, null, null, false, mockStudent.getStudyStartDate(), null, null, null, variables, tags, false);
return student;
}
Aggregations