internal void Render_Section() { // Arrange var renderer = new PageRenderer(); renderer.AppendSection( "header", $"section content line 1{Environment.NewLine}section content line 2" ); // Act var contentText = renderer.ToString(); // Assert var lines = contentText.ToLines(); Assert.Equal(3, lines.Length); Assert.Equal("header", lines[0]); Assert.Equal("section content line 1", lines[1]); Assert.Equal("section content line 2", lines[2]); }