### Question:
CamelTypeConverterTransform extends CamelTransformSupport<R> { @Override public void configure(Map<String, ?> props) { final SimpleConfig config = new SimpleConfig(CONFIG_DEF, props); fieldTargetType = config.getClass(FIELD_TARGET_TYPE_CONFIG); if (fieldTargetType == null) { throw new ConfigException("Configuration 'target.type' can not be empty!"); } typeConverter = getCamelContext().getTypeConverter(); }  @Override R apply(R record); @Override ConfigDef config(); @Override void close(); @Override void configure(Map<String, ?> props); static final String FIELD_TARGET_TYPE_CONFIG; static final ConfigDef CONFIG_DEF; }### Answer:
@Test public void testIfItCanHandleEmptyKeyProps() { final Transformation<SourceRecord> transformationKey = new CamelTypeConverterTransform.Key<>(); final Map<String, Object> props = new HashMap<>(); props.put(CamelTypeConverterTransform.FIELD_TARGET_TYPE_CONFIG, Map.class.getName()); assertThrows(ConfigException.class, () -> transformationKey.configure(Collections.emptyMap())); }