public static void compareStatArchiveFiles(final File expectedStatArchiveFile,
      final File actualStatArchiveFile) throws IOException {
    assertThat(expectedStatArchiveFile).exists();
    assertThat(actualStatArchiveFile.length()).isEqualTo(expectedStatArchiveFile.length());

    assertThat(readBytes(actualStatArchiveFile)).isEqualTo(readBytes(expectedStatArchiveFile));
  }
final File expectedStatArchiveFile = new File(TestUtil.getResourcePath(getClass(),
"StatArchiveWriterReaderJUnitTest_" + this.testName.getMethodName() + "_expected.gfs"));
geode-junit/src/main/java/org/apache/geode/internal/statistics/StatUtils.java