"propDoubleObjectDefault"
};
@Test
public void testProperty() throws Exception {
DummyComponent component = new DummyComponent();
Map<String, String> config = new HashMap<String, String>();
for (String fieldName : fieldNames) {
Object value = getFieldValue(this, fieldName);
addConfigurationValue(config, fieldName, value);
}
for (String fieldName : defaultPropertyNames) {
Object value = getFieldValue(this, fieldName);
addConfigurationValue(config, fieldName, value);
}
LOG.info("Properties: " + config);
component.activate(config);
LOG.info("Have injected: " + component);
assertFieldValues(fieldNames, this, component);
assertFieldValues(defaultPropertyNames, this, component);