public void ToString_WhenCalled_ReturnHtmlString()
        {
            // Arrange
            var homeTeamName = "Luton Hats";
            var awayTeamName = "Milan Reds";
            var firstGoal = "first-goal";
            var lastGoal = "last-goal";
            var matchHtml = new StringBuilder();
            var block = new Choice_Match_Block();
            block.homeTeam = homeTeamName;
            block.home_firstGoal_lastGoal = firstGoal;
            block.awayTeam = awayTeamName;
            block.away_firstGoal_lastGoal = lastGoal;

            // Act
            block.ToString(ref matchHtml);

            // Assert
            var expectedHtml = string.Format(MatchTemplate, homeTeamName, firstGoal, block.VS.ToString(), awayTeamName, lastGoal);
            Assert.AreEqual(expectedHtml, matchHtml.ToString());
        }
        public void ToString_BlockIsVisible_ReturnEmptyString()
        {
            // Arrange
            var matchHtml = new StringBuilder();
            var block = new Choice_Match_Block();
            block.Visible = false;

            // Act
            block.ToString(ref matchHtml);

            // Assert
            Assert.IsNullOrEmpty(matchHtml.ToString());
        }