public static List<Failure> runTestWithExpectedFailures(Class<?> test,
      Throwable... expectedThrowables) {
    return runTestWithExpectedFailures(test, asList(expectedThrowables));
  }
Used by JUnit rule unit tests to execute inner test cases.
geode-junit/src/main/java/org/apache/geode/test/junit/runners/TestRunner.java