public ActionsController(IDataState data, INotifier notifier, INumberGenerator numberGenerator, IScoreboard scoreboard, ICommandsFactory commandsFactory, IActionsReader reader)
 {
     this.Data = data;
     this.ActionsReader = reader;
     this.Notifier = notifier;
     this.Scoreboard = scoreboard;
     this.CommandsFactory = commandsFactory;
     this.NumberGenerator = numberGenerator;
 }
        public ScoreboardTests()
        {
            var mockNotifier = new Mock<IScoreNotifier>();
            mockNotifier.Setup(n => n.Notify(It.IsAny<string>())).Verifiable();
            mockNotifier.Setup(n => n.DisplayScores(It.IsAny<IList<Score>>()));
            this.notifier = mockNotifier.Object;

            var mockReader = new Mock<IActionsReader>();
            mockReader.Setup(r => r.Read()).Returns("Score4");
            this.actionsReader = mockReader.Object;
        }