public void CreateReportForGame_PlayerWithoutScore_IsIncludedInReport()
        {
            var hanjo = new PlayerBuilder()
                        .WithId(3)
                        .WithName("Hanjo")
                        .Build(_connection);

            _gameBuilder
            .WithParticipant(_ruben)
            .WithParticipant(_benny)
            .WithParticipant(hanjo)
            .WithPointFor(_ruben)
            .WithPointFor(_benny)
            .WithPointFor(_ruben)
            .Build(_connection);

            var reportGenerator = new ReportGenerator(new ScoreRepository(_connection));

            var output = reportGenerator.CreateReportForGame(42);

            Assert.AreEqual(
                "Score for game 42" + Environment.NewLine +
                "Player: Ruben Score: 2" + Environment.NewLine +
                "Player: Benny Score: 1" + Environment.NewLine +
                "Player: Hanjo Score: 0" + Environment.NewLine, output);
        }
        public void CreateReportForGame_PlayersWithIdenticalName_CorrectlyAssignScore()
        {
            var otherBenny = new PlayerBuilder()
                             .WithId(3)
                             .WithName("Benny")
                             .Build(_connection);

            _gameBuilder
            .WithParticipant(_benny)
            .WithParticipant(otherBenny)
            .WithPointFor(_benny)
            .WithPointFor(otherBenny)
            .Build(_connection);

            var reportGenerator = new ReportGenerator(new ScoreRepository(_connection));

            var output = reportGenerator.CreateReportForGame(42);

            Assert.AreEqual(
                "Score for game 42" + Environment.NewLine +
                "Player: Benny (2) Score: 2" + Environment.NewLine +
                "Player: Benny (3) Score: 1" + Environment.NewLine, output);
        }