@Test
  public void getNameTest() {
    for (int i = 0; i < 10; i++) {
      long pos = Utils.getRandomLong(TestUtils.RANDOM, 1000);
      long gen = Utils.getRandomLong(TestUtils.RANDOM, 1000);
      assertEquals("Did not get expected name", pos + BlobStore.SEPARATOR + gen,
          LogSegmentName.fromPositionAndGeneration(pos, gen).toString());
    }
  }
Tests correctness of {@link LogSegmentName#fromPositionAndGeneration(long, long)}.
ambry-store/src/test/java/com/github/ambry/store/LogSegmentNameTest.java