@Override
  public String generateSegmentName(int sequenceId, @Nullable Object minTimeValue, @Nullable Object maxTimeValue) {
    return _segmentName;
  }
@Test
  public void testWithMalFormedSegmentName() {
    assertEquals(new FixedSegmentNameGenerator("seg01").generateSegmentName(0, null, null), "seg01");
    try {
      new FixedSegmentNameGenerator("seg*01").generateSegmentName(0, null, null);
      Assert.fail();
    } catch (IllegalArgumentException e) {
      // Expected
      assertEquals(e.getMessage(), "Invalid partial or full segment name: seg*01");
    }
  }