Beispiel #1
0
        internal void Render_Command_Without_Description()
        {
            // Arrange
            var renderer = new PageRenderer();

            renderer.AppendCommand(
                PageContentRowFormattingStyle.None,
                "command-name",
                new PageContentCommandSettings()
                );

            // Act
            var contentText = renderer.ToString();

            // Assert
            var lines = contentText.ToLines();

            Assert.Single(lines);

            Assert.Equal("command-name", lines[0]);
        }