AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter05.Tests/Listing05.02.SimpleMethodCall.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter05.Listing05_02.Tests
{
    [TestClass]
    public class HeyYouTests
    {
        [TestMethod]
        public void Main_MethodCalls_MethodsCalledSuccessfully()
        {
            const string expected =
@"Hey you!
Enter your first name: <<Inigo
>>Enter your last name: <<Montoya
>>Your full name is Inigo Montoya.";

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