protected Reader readGoldenFile(final String goldenFileName) throws IOException {
    final InputStream goldenStream = ClassLoader.getSystemResourceAsStream(goldenFileName);
    assertNotNull("Golden file " + goldenFileName + " not found.", goldenStream);
    return new InputStreamReader(goldenStream);
  }
Compares test output to golden text file.

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