@Override
  public MutableAnalysisMetadataHolder setUuid(String s) {
    checkState(!uuid.isInitialized(), "Analysis uuid has already been set");
    requireNonNull(s, "Analysis uuid can't be null");
    this.uuid.setProperty(s);
    return this;
  }
@Test
  public void setUuid_throws_ISE_if_called_twice() {
    underTest.setUuid("org1");

    assertThatThrownBy(() -> underTest.setUuid("org1"))
      .isInstanceOf(IllegalStateException.class)
      .hasMessage("Analysis uuid has already been set");
  }