private void checkForProblem(final int lineCount, final String line) {
    if (line == null) {
      return;
    }
    checkLineFor(lineCount, line, "warning");
    checkLineFor(lineCount, line, "warn");
    checkLineFor(lineCount, line, "error");
    checkLineFor(lineCount, line, "fatal");
    checkLineFor(lineCount, line, "severe");
  }
Compares test output to golden text file.

@since GemFire 4.1.1
geode-junit/src/main/java/org/apache/geode/test/golden/GoldenComparator.java