private void after() {
      afterInvoked = true;
    }
Implementation of TestRule that records the callbacks invoked on it. Used by
{@link UsingRuleAsRuleAndClassRule}.
geode-junit/src/test/java/org/apache/geode/test/junit/rules/examples/RuleAndClassRuleTest.java