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); }