public void IsSealedType()
        {
            Assert.ThrowsExact <ArgumentNullException>(() => Assert.IsSealedType(null as object));
            Assert.ThrowsExact <ArgumentNullException>(() => Assert.IsSealedType(null as Type));

            Assert.DoesNotThrow(() => Assert.IsSealedType("hello"));
            Assert.DoesNotThrow(() => Assert.IsSealedType(1L));
            Assert.DoesNotThrow(() => Assert.IsSealedType(AttributeTargets.All));
            Assert.ThrowsExact <AssertionException>(() => Assert.IsSealedType(new List <int>()));
            Assert.DoesNotThrow(() => Assert.IsSealedType(new int[0]));

            Assert.DoesNotThrow(() => Assert.IsSealedType <string>());
            Assert.DoesNotThrow(() => Assert.IsSealedType <long>());
            Assert.DoesNotThrow(() => Assert.IsSealedType <AttributeTargets>());
            Assert.ThrowsExact <AssertionException>(() => Assert.IsSealedType <List <int> >());
            Assert.DoesNotThrow(() => Assert.IsSealedType <int[]>());
            Assert.ThrowsExact <AssertionException>(() => Assert.IsSealedType <IEnumerable <int> >());

            Assert.DoesNotThrow(() => Assert.IsSealedType(typeof(string)));
            Assert.DoesNotThrow(() => Assert.IsSealedType(typeof(long)));
            Assert.DoesNotThrow(() => Assert.IsSealedType(typeof(AttributeTargets)));
            Assert.ThrowsExact <AssertionException>(() => Assert.IsSealedType(typeof(List <int>)));
            Assert.DoesNotThrow(() => Assert.IsSealedType(typeof(int[])));
            Assert.ThrowsExact <AssertionException>(() => Assert.IsSealedType(typeof(IEnumerable <int>)));
        }