public void PlayerScoreRecord_Publish_ScoreIsPublished()
        {
            PlayerScoreRecord playerScoreRecord = PlayerScoreRecord.Create(TournamentTestData.PlayerId, TournamentTestData.PlayingHandicap, TournamentTestData.HoleScoresNoReturn);

            playerScoreRecord.SetCountBackScores(TournamentTestData.Last9HolesScore, TournamentTestData.Last6HolesScore, TournamentTestData.Last3HolesScore);

            playerScoreRecord.Publish();

            playerScoreRecord.IsPublished.ShouldBeTrue();
        }
        public void PlayerScoreRecord_SetResultDetails_ResultDetailsAreSet()
        {
            PlayerScoreRecord playerScoreRecord = PlayerScoreRecord.Create(TournamentTestData.PlayerId, TournamentTestData.PlayingHandicap, TournamentTestData.HoleScoresNoReturn);

            playerScoreRecord.SetCountBackScores(TournamentTestData.Last9HolesScore, TournamentTestData.Last6HolesScore, TournamentTestData.Last3HolesScore);

            playerScoreRecord.Publish();

            playerScoreRecord.SetResultDetails(TournamentTestData.DivisionPosition, TournamentTestData.Division);

            playerScoreRecord.Position.ShouldBe(TournamentTestData.DivisionPosition);
            playerScoreRecord.TournamentDivision.ShouldBe(TournamentTestData.Division);
        }