### Question:
AccessControlConfig { @Config("access-control.config-files") public AccessControlConfig setAccessControlFiles(String accessControlFiles) { this.accessControlFiles = SPLITTER.splitToList(accessControlFiles).stream() .map(File::new) .collect(toImmutableList()); return this; }  @NotNull List<@FileExists File> getAccessControlFiles(); @Config("access-control.config-files") AccessControlConfig setAccessControlFiles(String accessControlFiles); AccessControlConfig setAccessControlFiles(List<File> accessControlFiles);  }### Answer:
@Test public void testDefaults() { ConfigAssertions.assertRecordedDefaults(ConfigAssertions.recordDefaults(AccessControlConfig.class) .setAccessControlFiles("")); }
@Test public void testExplicitPropertyMappings() throws IOException { Path config1 = Files.createTempFile(null, null); Path config2 = Files.createTempFile(null, null); Map<String, String> properties = new ImmutableMap.Builder<String, String>() .put("access-control.config-files", config1.toString() + "," + config2.toString()) .build(); AccessControlConfig expected = new AccessControlConfig() .setAccessControlFiles(ImmutableList.of(config1.toFile(), config2.toFile())); ConfigAssertions.assertFullMapping(properties, expected); }