@Test
  public void testParseServerNameFromWALName() {
    assertEquals(ServerName.valueOf("abc,123,123"),
      AbstractFSWALProvider.parseServerNameFromWALName("abc,123,123.1.12345.meta"));
    assertEquals(ServerName.valueOf("abc,123,123"),
      AbstractFSWALProvider.parseServerNameFromWALName("abc,123,123.12345"));
    assertEquals(ServerName.valueOf("abc,123,123"),
      AbstractFSWALProvider.parseServerNameFromWALName("abc,123,123"));
    assertThrows(IllegalArgumentException.class,
      () -> AbstractFSWALProvider.parseServerNameFromWALName("test,abc,123,123.12345"));
    assertThrows(IllegalArgumentException.class,
      () -> AbstractFSWALProvider.parseServerNameFromWALName("abc"));
  }
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