Exemplo n.º 1
0
        public void TestGetName(string expected, string title)
        {
            var nameService = new NameService();
            var result      = nameService.GetName(title);

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

            Console.Write(nameService.GetName());

            Console.ReadKey();
        }