using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter01.Listing01_14.Tests
{
    [TestClass]
    public class HeyYouTests
    {
        [TestMethod]
        public void Main_InputInigoMontoya_WriteNothing()
        {
            const string expected =
@"Hej, ty!
Podaj imię: <<Inigo
>>Podaj nazwisko: <<Montoya
>>";

            IntelliTect.TestTools.Console.ConsoleAssert.Expect(
                expected, HeyYou.Main);
        }
    }
}