示例#1
0
        public void PointcutCanNeverApply()
        {
            IPointcut pointcut = new NeverMatchesPointcut();

            Assert.IsFalse(AopUtils.CanApply(pointcut, typeof(Object), null));
        }
示例#2
0
 public void PointcutCanNeverApply()
 {
     IPointcut pointcut = new NeverMatchesPointcut();
     Assert.IsFalse(AopUtils.CanApply(pointcut, typeof (Object), null));
 }