@Override
  public void executeInProcess() throws IOException {
    outputLine("Begin " + name() + ".main");
    outputLine("Press Enter to continue.");
    new BufferedReader(new InputStreamReader(System.in)).readLine();
    outputProblemInProcess(problem());
    outputLine("End " + name() + ".main");
  }
Abstract test case for tests verifying that unexpected test output will cause expected failures.
geode-junit/src/main/java/org/apache/geode/test/golden/FailOutputTestCase.java