public void EvaluationCountIncrementedEvenIfPointcutDoesNotMatch()
        {
            ControlFlowPointcut cut = new ControlFlowPointcut(typeof(One));

            cut.Matches(null, null, null);             // args are ingored in this impl...
            Assert.AreEqual(1, cut.EvaluationCount);
            cut.Matches(null, null, null);             // args are ingored in this impl...
            Assert.AreEqual(2, cut.EvaluationCount);
        }
        public void EvaluationCountIncrementedOnEveryMatch()
        {
            Type oneType               = typeof(One);
            ControlFlowPointcut cut    = new ControlFlowPointcut(oneType);
            MethodInfo          method = oneType.GetMethod("GetAge");

            cut.Matches(method, oneType, null);
            Assert.AreEqual(1, cut.EvaluationCount);
            cut.Matches(method, oneType, null);
            Assert.AreEqual(2, cut.EvaluationCount);
        }