@Override
    protected void before() throws Throwable {
      invocations.invokedBefore();
      if (beforeThrowable != null) {
        throw beforeThrowable;
      }
    }
Implementation of TestRule that records the order of callbacks invoked on it. Used by
{@link RuleListTest}.
geode-junit/src/test/java/org/apache/geode/test/junit/rules/RuleListTest.java