@Test
  public void testRegionEntryBuffer() throws Exception {
    EntryBuffers.RegionEntryBuffer reb =
      new EntryBuffers.RegionEntryBuffer(TEST_TABLE, TEST_REGION);
    assertEquals(0, reb.heapSize());

    reb.appendEntry(createTestLogEntry(1));
    assertTrue(reb.heapSize() > 0);
  }
Assert that getSplitEditFilesSorted returns files in expected order and that it skips
moved-aside files.
hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALMethods.java