public bool OutputContains(string expected) { var actual = Console.AllText(); return(actual.Contains(expected)); }
public void OutputShouldBe(string expected) { Console.AllText().ShouldBe(expected, "output"); }