Ejemplo n.º 1
0
        public void Receives_Disapprove_Final_Exam()
        {
            _sut.GivePracticalWork();
            _sut.GiveExam(SubjectExamNote.Create(6));
            _sut.GiveExam(SubjectFinalExamNote.Create(2));
            _sut.CloseSubject();

            _recoverySubject.Verify(x => x(8), Times.AtLeastOnce);
        }
Ejemplo n.º 2
0
        public void Receives_Final_Exam_Work()
        {
            _sut.GivePracticalWork();
            _sut.GiveExam(SubjectExamNote.Create(6));
            _sut.GiveFinalExam(SubjectFinalExamNote.Create(8));
            _sut.CloseSubject();

            _approveSubject.Verify(x => x(6 + 8), Times.AtLeastOnce);
        }