Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void DisplayIntroShouldPrintInTheConsoleProperMessage() { using (StringWriter sw = new StringWriter()) { Console.SetOut(sw); manager.DisplayIntro("Message"); string expected = string.Format("{0}", "Message"); Assert.AreEqual <string>(expected, sw.ToString(), "Printed intro message is not correct."); } }