// The settings are already filled with default values by createPrimitiveDescription,
// but here we want to simulate loading a descriptor without settings from a file.
// The file of course would declare the parameters optional and thus the settings
// for the optional parameters would be empty. We expect that a default value from the
// annotation is used in this case.
aed.getMetaData().setConfigurationParameterSettings(new ConfigurationParameterSettings_impl());
AnalysisEngine template = UIMAFramework.produceAnalysisEngine(aed);
DefaultValueAE1 ae = new DefaultValueAE1();
ae.initialize(template.getUimaContext());
assertEquals("green", ae.color);
}