### Question:
NoHttpCheck extends AbstractFileSetCheck implements ExternalResourceHolder { @Override public Set<String> getExternalResourceLocations() { Set<String> result = new HashSet<>(); if (isAllowlistFileSet()) { result.add(this.allowlistFileName); } return result; }  void setAllowlistFileName(String allowlistFileName); void setAllowlist(String allowlist); @Deprecated void setWhitelistFileName(String allowlistFileName); @Deprecated void setWhitelist(String allowlist); @Override Set<String> getExternalResourceLocations();  }### Answer:
@Test public void getExternalResourceLocationsWhenNoAllowlistlistThenEmpty() { assertThat(this.check.getExternalResourceLocations()).isEmpty(); }