Exemple #1
0
        public void AttributeExistsTest()
        {
            Type type = GetType();

            Assert.IsTrue(type.AttributeExists <TestClassAttribute>());
            MethodInfo method = type.GetMethod("AttributeExistsTest");

            Assert.IsTrue(method.AttributeExists <TestMethodAttribute>());
        }