Пример #1
0
        public bool OutputContains(string expected)
        {
            var actual = Console.AllText();

            return(actual.Contains(expected));
        }
Пример #2
0
 public void OutputShouldBe(string expected)
 {
     Console.AllText().ShouldBe(expected, "output");
 }