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

TypeExtentions_GetTypeFromSimpleName_WhenShort_ExpectShort() private method

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

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

            var result = TypeExtensions.GetTypeFromSimpleName(myType);

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

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