public void Edit_DoesNotSaveTheUserProfile_WhenTheSubmittedDataIsInvalid()
        {
            var sessionRepository = Substitute.For <ISessionRepository>();
            var voteRepository    = Substitute.For <IVoteRepository>();
            var controller        = new SessionController(sessionRepository, voteRepository);

            controller.CreateModelStateError();

            controller.Edit(new Session());

            sessionRepository.DidNotReceive().UpdateSession(Arg.Any <Session>());
        }