### Question:
FileSessionPropertyManagerConfig { @Config("session-property-manager.config-file") public FileSessionPropertyManagerConfig setConfigFile(File configFile) { this.configFile = configFile; return this; }  @NotNull @FileExists File getConfigFile(); @Config("session-property-manager.config-file") FileSessionPropertyManagerConfig setConfigFile(File configFile);  }### Answer:
@Test public void testDefaults() { assertRecordedDefaults(recordDefaults(FileSessionPropertyManagerConfig.class) .setConfigFile(null)); }
@Test public void testExplicitPropertyMappings() throws IOException { Path configFile = Files.createTempFile(null, null); Map<String, String> properties = new ImmutableMap.Builder<String, String>() .put("session-property-manager.config-file", configFile.toString()) .build(); FileSessionPropertyManagerConfig expected = new FileSessionPropertyManagerConfig() .setConfigFile(configFile.toFile()); assertFullMapping(properties, expected); }