public static void setExpectedFailureClass(Class<?> expected) {
    expectedClass = expected;
  }
If a test sets this to a non-null value then it should also set it to "null" with a finally
block.
geode-core/src/main/java/org/apache/geode/internal/SystemFailureTestHook.java