@Test
  public void nameToFilenameTest() {
    assertEquals("Did not get expected file name", "log_current", LogSegmentName.fromString("").toFilename());
    LogSegmentName name = LogSegmentName.fromPositionAndGeneration(3, 1);
    assertEquals("Did not get expected file name", name + LogSegmentName.SUFFIX, name.toFilename());
  }
Tests correctness of {@link LogSegmentName#toFilename}.
ambry-store/src/test/java/com/github/ambry/store/LogSegmentNameTest.java