Пример #1
0
        public void GetStudentGradesInGroup()
        {
            // Arrange:
            string studentSSN       = "2233882299";
            int    courseInstanceID = 1;

            // Act:
            StudentGradeDTO gradeObject = _service.GetStudentGradesInGroup(studentSSN, courseInstanceID);

            // Assert:
            Assert.IsNotNull(gradeObject);
            Assert.AreEqual("Barney Calhoun", gradeObject.Student.Name);
            Assert.AreEqual(2, gradeObject.StudentGrades.Count);
        }
 public StudentGradeDTO GetStudentGradesInGroup(string studentSSN, int assignmentGroupID)
 {
     return(_assignmentService.GetStudentGradesInGroup(studentSSN, assignmentGroupID));
 }