public void TestWriteLine()
 {
     var ui = new LocalHostUserInterface(null, true);
     string str = "foobar";
     ui.WriteLine(str);
     Assert.AreEqual(str + Environment.NewLine, GetOutput());
 }
        public void TestReadLine()
        {
            SetInput("foobar" + Environment.NewLine);
            var ui = new LocalHostUserInterface(null, true);

            Assert.AreEqual("foobar", ui.ReadLine());
        }