public void TestConsoleInterfaceShowMessageWithNullParameter()
 {
     var consoleInterface = new ConsoleInterface();
     var output = new StringWriter();
     Console.SetOut(output);
     consoleInterface.ShowMessage(null);
     Assert.AreEqual("\r\n", output.ToString());
 }
 public void TestConsoleInterfaceShowMessage()
 {
     var consoleInterface = new ConsoleInterface();
     string message = "This is the message";
     var output = new StringWriter();
     Console.SetOut(output);
     consoleInterface.ShowMessage(message);
     Assert.AreEqual(message + "\r\n", output.ToString());
 }