@Test
  public void testServerNameFromTestWAL() throws Exception {
    Path walPath = new Path(
      "/user/example/test-data/12ff1404-68c6-4715-a4b9-775e763842bc/WALs/TestWALRecordReader",
      "TestWALRecordReader.default.1487787939118");
    ServerName name = AbstractFSWALProvider.getServerNameFromWALDirectoryName(walPath);
    assertNull(name);
  }
Simple testing of a few WAL methods.
hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALMethods.java