@Test(expected = JsonMappingException.class)
public void importFailsOnUnknownPropertiesWithNonDefaultConfig() throws Exception {
// Override default config to error out on unknown properties:
Map<String, String> configProps = new HashMap<String, String>();
configProps.put(ConfigProperties.FAIL_ON_UNKNOWN_IMPORT_PROPERTIES, "true");
mapper = SyncUtils.getObjectMapper(new MapConfiguration(configProps));
importer.createObject(mapper, new StringReader(
"{\"uuid\":\"test-uuid\", \"unknown\":\"notreal\"}"));
}