### Question:
TypeHandlingJdbcConfig { @Config("unsupported-type-handling") @LegacyConfig("unsupported-type.handling-strategy") @ConfigDescription("Unsupported type handling strategy") public TypeHandlingJdbcConfig setUnsupportedTypeHandling(UnsupportedTypeHandling unsupportedTypeHandling) { this.unsupportedTypeHandling = unsupportedTypeHandling; return this; }  @NotNull UnsupportedTypeHandling getUnsupportedTypeHandling(); @Config("unsupported-type-handling") @LegacyConfig("unsupported-type.handling-strategy") @ConfigDescription("Unsupported type handling strategy") TypeHandlingJdbcConfig setUnsupportedTypeHandling(UnsupportedTypeHandling unsupportedTypeHandling);  }### Answer:
@Test public void testDefaults() { assertRecordedDefaults(recordDefaults(TypeHandlingJdbcConfig.class) .setUnsupportedTypeHandling(UnsupportedTypeHandling.IGNORE)); }
@Test public void testExplicitPropertyMappings() { Map<String, String> properties = new ImmutableMap.Builder<String, String>() .put("unsupported-type-handling", "CONVERT_TO_VARCHAR") .build(); TypeHandlingJdbcConfig expected = new TypeHandlingJdbcConfig() .setUnsupportedTypeHandling(UnsupportedTypeHandling.CONVERT_TO_VARCHAR); assertFullMapping(properties, expected); }