public void GetSingleStudentGradeOverview() { // Arrange: string studentSSN = "2233882299"; int courseInstanceID = 1; // Act: StudentGradeOverviewDTO overview = _service.GetSingleStudentGradeOverview(courseInstanceID, studentSSN); // Assert: Assert.IsNotNull(overview); Assert.AreEqual("2233882299", overview.Student.SSN); Assert.AreEqual(2, overview.Grades.Count); }
public StudentGradeOverviewDTO GetSingleStudentGradeOverview(int courseInstanceID, string studentSSN) { return(_assignmentService.GetSingleStudentGradeOverview(courseInstanceID, studentSSN)); }