public AnalysisPropertyDto setValue(String value) {
    requireNonNull(value, "value cannot be null");
    this.value = value;
    return this;
  }
@Test
  void null_value_should_throw_NPE() {
    underTest = new AnalysisPropertyDto();

    assertThatThrownBy(() -> underTest.setValue(null))
      .isInstanceOf(NullPointerException.class)
      .hasMessage("value cannot be null");
  }