void invokedBefore() {
      beforeInvocation = counter.incrementAndGet();
    }
Structure of rule callback and test invocations
geode-junit/src/test/java/org/apache/geode/test/junit/rules/RuleListTest.java