@Test
  public void constructorTest() throws IOException, StoreException {
    LogSegment segment = getSegment(LogSegmentName.generateFirstSegmentName(false), STANDARD_SEGMENT_SIZE, false);
    assertEquals("Start offset should be 0 when no headers are written", 0, segment.getStartOffset());
  }
Tests for special constructor cases.
@throws IOException
ambry-store/src/test/java/com/github/ambry/store/LogSegmentTest.java