@Override
  public long getAnalysisDate() {
    checkState(analysisDate.isInitialized(), "Analysis date has not been set");
    return this.analysisDate.getProperty();
  }
@Test
  public void getAnalysisDate_throws_ISE_when_holder_is_not_initialized() {
    assertThatThrownBy(() -> new AnalysisMetadataHolderImpl(editionProvider).getAnalysisDate())
      .isInstanceOf(IllegalStateException.class)
      .hasMessage("Analysis date has not been set");
  }