AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter07.Tests/Listing07.10.RuntimeCallingTheMostDerivedImplementationOfAVirtualMethod.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_10
{
    [TestClass]
    public class ProgramTests
    {
        [TestMethod]
        public void Main_CallDerivedImplementation()
        {
            const string expected =
                @"Inigo Montoya";

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