Dev2.Tests.TypeExtentionTest.TypeExtentions_GetTypeFromSimpleName_WhenString_ExpectString C# (CSharp) Method

TypeExtentions_GetTypeFromSimpleName_WhenString_ExpectString() private method

        public void TypeExtentions_GetTypeFromSimpleName_WhenString_ExpectString()
        {
            //------------Setup for test--------------------------
            const string myType = "string";

            //------------Execute Test---------------------------

            var result = TypeExtensions.GetTypeFromSimpleName(myType);

            //------------Assert Results-------------------------

            Assert.AreEqual(typeof(string), result);
        }
TypeExtentionTest