public void WriteLine_WithDefaultIndentWritesTheStandardIndent()
        {
            var builder = new MessageBuilder();
            builder.WriteLine("Some text");

            var actual = builder.Build();

            Assert.Equal("Some text\r\n", actual);
        }
        public void IncreaseIndent_IncreasesIndentByAFactorOf1()
        {
            var builder = new MessageBuilder();
            builder.IncreaseIndent();
            builder.WriteLine("Some text");
            var actual = builder.Build();

            Assert.Equal("    Some text\r\n", actual);
        }
예제 #3
0
        public void IncreaseIndent_IncreasesIndentByAFactorOf1()
        {
            var builder = new MessageBuilder();

            builder.IncreaseIndent();
            builder.WriteLine("Some text");
            var actual = builder.Build();

            Assert.Equal("    Some text\r\n", actual);
        }
예제 #4
0
        public void WriteLine_WithDefaultIndentWritesTheStandardIndent()
        {
            var builder = new MessageBuilder();

            builder.WriteLine("Some text");

            var actual = builder.Build();

            Assert.Equal("Some text\r\n", actual);
        }