Esempio n. 1
0
        public void TestAsyncMethodNameSimplicification(string typeName, string expected)
        {
            var simplifiedTypeName = TypeNameHelper.GetAsyncMethodNameFromAsyncStateMachine(typeName);

            System.Console.WriteLine("Original type name: " + typeName);
            System.Console.WriteLine("Simplified type name: " + simplifiedTypeName);
            Assert.AreEqual(expected, simplifiedTypeName);
        }