### Question:
LocalPermissioningConfiguration { public void setNodeAllowlist(final Collection<EnodeURL> nodeAllowlist) { if (nodeAllowlist != null) { this.nodeAllowlist.addAll(nodeAllowlist); this.nodeAllowlistEnabled = true; } }  List<EnodeURL> getNodeAllowlist(); static LocalPermissioningConfiguration createDefault(); void setEnodeDnsConfiguration(final EnodeDnsConfiguration enodeDnsConfiguration); void setNodeAllowlist(final Collection<EnodeURL> nodeAllowlist); EnodeDnsConfiguration getEnodeDnsConfiguration(); boolean isNodeAllowlistEnabled(); List<String> getAccountAllowlist(); void setAccountAllowlist(final Collection<String> accountAllowlist); boolean isAccountAllowlistEnabled(); String getNodePermissioningConfigFilePath(); void setNodePermissioningConfigFilePath(final String nodePermissioningConfigFilePath); String getAccountPermissioningConfigFilePath(); void setAccountPermissioningConfigFilePath(
      final String accountPermissioningConfigFilePath);  }### Answer:
@Test public void setNodeAllowlist() { final LocalPermissioningConfiguration configuration = LocalPermissioningConfiguration.createDefault(); configuration.setNodeAllowlist(Arrays.asList(nodes)); assertThat(configuration.getNodeAllowlist()).containsExactlyInAnyOrder(nodes); assertThat(configuration.isNodeAllowlistEnabled()).isTrue(); }