@Override
  public void setIssues(Component component, List<DefaultIssue> issues) {
    this.issues = requireNonNull(issues, "issues cannot be null");
    this.component = requireNonNull(component, "component cannot be null");
  }
@Test
  public void fail_with_NPE_when_setting_issues_with_null_issues() {
    assertThatThrownBy(() -> sut.setIssues(FILE_1, null))
      .isInstanceOf(NullPointerException.class)
      .hasMessage("issues cannot be null");
  }