if (registration != null || attendsByStudent != null) {
courses.add(executionCourse);
}
}
final WrittenEvaluationEnrolment evalEnrolment = writtenEvaluation.getWrittenEvaluationEnrolmentFor(student);
if (evalEnrolment != null) {
assignedRoom = evalEnrolment.getRoom();
}
if (type.equals(EvaluationType.EXAM_TYPE)) {
return new FenixCourseEvaluation.Exam(writtenEvaluationId, name, evaluationPeriod, isEnrolmentPeriod,
enrollmentPeriodStart, enrollmentPeriodEnd, writtenEvaluation.getAssociatedRooms(), isEnrolled, courses,