public void ToString_BlockIsVisible_ReturnEmptyString()
        {
            // Arrange
            var outstandingHtml = new StringBuilder();
            var block = new SystemParlayDetail_Outstanding_Block();
            block.Visible = false;

            // Act
            block.ToString(ref outstandingHtml);

            // Assert
            Assert.IsNullOrEmpty(outstandingHtml.ToString());
        }
        public void ToString_WhenCalled_ReturnHtmlString()
        {
            // Arrange
            var outstanding = "2";
            var outstandingHtml = new StringBuilder();
            var block = new SystemParlayDetail_Outstanding_Block();
            block.Outstanding = outstanding;

            // Act
            block.ToString(ref outstandingHtml);

            // Assert
            var expectedHtml = string.Format(OutstandingTemplate, outstanding);
            Assert.AreEqual(expectedHtml, outstandingHtml.ToString());
        }