예제 #1
0
        public void TestGetName(string expected, string title)
        {
            var nameService = new NameService();
            var result      = nameService.GetName(title);

            Assert.Equal(expected, result);
        }
예제 #2
0
        public static void Main(string[] args)
        {
            INameService nameService = new NameService();

            Console.Write(nameService.GetName());

            Console.ReadKey();
        }