public void ToString_BlockIsVisible_ReturnEmptyString()
        {
            // Arrange
            var oddsHtml = string.Empty;
            var block = new Odds_Template();
            block.Visible = false;

            // Act
            oddsHtml = block.ToString();

            // Assert
            Assert.IsNullOrEmpty(oddsHtml);
        }
        public void ToString_WhenCalled_ReturnHtmlString()
        {
            // Arrange
            var odds = "1";
            var oddType = "MY";
            var oddsHtml = string.Empty;
            var block = new Odds_Template();
            block.odds = odds;
            block.oddsType = oddType;

            // Act
            oddsHtml = block.ToString();

            // Assert
            var expectedHtml = string.Format(OddsTemplate, odds, oddType);
            Assert.AreEqual(expectedHtml, oddsHtml);
        }