public void threadShouldThrow() {
    threadFailed = true;
    fail("should throw exception");
  }
threadFail with message "should throw exception"
geode-junit/src/main/java/org/apache/geode/util/JSR166TestCase.java