public void NotCall_AddMarkMethodWithIncorectParams(string notFromEventArgsStudentId, int notFromEventArgsSubjectId, int notFromEventArgsMarkId)
        {
            var mockedManagingMarksView                = new Mock <IManagingMarksView>();
            var mockedSubjectManagementService         = new Mock <ISubjectManagementService>();
            var mockedClassOfStudentsManagementService = new Mock <IClassOfStudentsManagementService>();
            var mockedMarkManagementService            = new Mock <IMarksManagementService>();
            var mockedStudentManagementService         = new Mock <IStudentManagementService>();

            mockedManagingMarksView
            .SetupGet(x => x.Model)
            .Returns(new ManagingMarksModel());

            var managingMarksPrseenter = new ManagingMarksPresenter(
                mockedManagingMarksView.Object,
                mockedSubjectManagementService.Object,
                mockedClassOfStudentsManagementService.Object,
                mockedStudentManagementService.Object,
                mockedMarkManagementService.Object);

            var args = new InserMarkEventArgs()
            {
                MarkId    = It.IsAny <int>(),
                StudentId = It.IsNotNull <string>(),
                SubjectId = It.IsAny <int>()
            };

            mockedManagingMarksView.Raise(x => x.EventInsertMark += null, args);

            mockedMarkManagementService
            .Verify(
                x => x.AddMark(notFromEventArgsStudentId, notFromEventArgsSubjectId, notFromEventArgsMarkId),
                Times.Never());
        }
 private void View_EventInsertMark(object sender, InserMarkEventArgs e)
 {
     this.marksManagementService.AddMark(e.StudentId, e.SubjectId, e.MarkId);
 }