public GithubAppConfiguration validate(AlmSettingDto almSettingDto) {
    return validate(almSettingDto.getAppId(), almSettingDto.getClientId(), almSettingDto.getClientSecret(), almSettingDto.getPrivateKey(), almSettingDto.getUrl());
  }
@Test
  public void github_validation_checks_missing_appId() {
    AlmSettingDto almSettingDto = new AlmSettingDto();
    almSettingDto.setAppId(null);

    assertThatThrownBy(() -> underTest.validate(almSettingDto))
      .isInstanceOf(IllegalArgumentException.class)
      .hasMessage("Missing appId");
  }