@Test public void generateFirstSegmentNameTest() { assertEquals("Did not get expected name", "", LogSegmentNameHelper.generateFirstSegmentName(false)); String firstSegmentName = LogSegmentNameHelper.getName(0, 0); assertEquals("Did not get expected name", firstSegmentName, LogSegmentNameHelper.generateFirstSegmentName(true)); }
static String generateFirstSegmentName(boolean isLogSegmented) { return isLogSegmented ? getName(0, 0) : ""; }
LogSegmentNameHelper { static String generateFirstSegmentName(boolean isLogSegmented) { return isLogSegmented ? getName(0, 0) : ""; } }
LogSegmentNameHelper { static String generateFirstSegmentName(boolean isLogSegmented) { return isLogSegmented ? getName(0, 0) : ""; }  }
LogSegmentNameHelper { static String generateFirstSegmentName(boolean isLogSegmented) { return isLogSegmented ? getName(0, 0) : ""; }   }
LogSegmentNameHelper { static String generateFirstSegmentName(boolean isLogSegmented) { return isLogSegmented ? getName(0, 0) : ""; }    }