public Map<SoftwareQuality, Severity> getDefaultImpacts() {
    return defaultImpacts;
  }
@Test
  public void constructor_whenAdhocRuleHasNoProvidedImpact_shouldMapDefaultImpactAccordingly() {
    NewAdHocRule adHocRule = new NewAdHocRule(ScannerReport.AdHocRule.newBuilder()
      .setEngineId("eslint").setRuleId("no-cond-assign").setName("name")
      .setType(ScannerReport.IssueType.CODE_SMELL)
      .setSeverity(Constants.Severity.MINOR)
      .build());

    assertThat(adHocRule.getDefaultImpacts())
      .containsExactlyEntriesOf(Map.of(SoftwareQuality.MAINTAINABILITY, Severity.LOW));
  }