private void verifyBB(ByteBuffer bb, byte[] src) {
    bb.flip();
    for (int i = 0; i < src.length; ++i) {
      assertEquals("Channel contents does not match expected at index " + i, src[i], bb.get());
    }
  }
Testing recovery from failures writing Oplog entries
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/OplogFlushTest.java