@Test public void testNonExistingPropertyForProcessEngineConfiguration() { ProcessEngineConfiguration engineConfiguration = new StandaloneProcessEngineConfiguration(); Map<String, String> propertiesToSet = new HashMap<String, String>(); propertiesToSet.put("aNonExistingProperty", "someValue"); try { PropertyHelper.applyProperties(engineConfiguration, propertiesToSet); Assert.fail(); } catch (Exception e) { } }
public static void applyProperties(Object configuration, Map<String, String> properties) { for (Map.Entry<String, String> property : properties.entrySet()) { applyProperty(configuration, property.getKey(), property.getValue()); } }
PropertyHelper { public static void applyProperties(Object configuration, Map<String, String> properties) { for (Map.Entry<String, String> property : properties.entrySet()) { applyProperty(configuration, property.getKey(), property.getValue()); } } }
PropertyHelper { public static void applyProperties(Object configuration, Map<String, String> properties) { for (Map.Entry<String, String> property : properties.entrySet()) { applyProperty(configuration, property.getKey(), property.getValue()); } }  }
PropertyHelper { public static void applyProperties(Object configuration, Map<String, String> properties) { for (Map.Entry<String, String> property : properties.entrySet()) { applyProperty(configuration, property.getKey(), property.getValue()); } }  static boolean getBooleanProperty(Map<String, String> properties, String name, boolean defaultValue); static Object convertToClass(String value, Class<?> clazz); static void applyProperty(Object configuration, String key, String stringValue); static void applyProperties(Object configuration, Map<String, String> properties); static String resolveProperty(Properties props, String original); }
PropertyHelper { public static void applyProperties(Object configuration, Map<String, String> properties) { for (Map.Entry<String, String> property : properties.entrySet()) { applyProperty(configuration, property.getKey(), property.getValue()); } }  static boolean getBooleanProperty(Map<String, String> properties, String name, boolean defaultValue); static Object convertToClass(String value, Class<?> clazz); static void applyProperty(Object configuration, String key, String stringValue); static void applyProperties(Object configuration, Map<String, String> properties); static String resolveProperty(Properties props, String original);  }