Beispiel #1
0
        public void GetDelegateCoursesAttemptStats_should_return_delegate_course_info_correctly()
        {
            // When
            var attemptStats = courseDataService.GetDelegateCourseAttemptStats(11, 100);

            // Then
            attemptStats.TotalAttempts.Should().Be(23);
            attemptStats.AttemptsPassed.Should().Be(11);
            attemptStats.PassRate.Should().Be(48);
        }