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

TypeExtentions_GetTypeFromSimpleName_WhenUInt16_ExpectUInt16() private method

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

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

            var result = TypeExtensions.GetTypeFromSimpleName(myType);

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

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