localNames,
namespaces,
pluginNames,
pluginClasses);
MarkupExtensionsConfiguration extensionsConfig =
config.getPipelineConfiguration().
getMarkupExtensionsConfiguration();
assertNotNull("markup-extensions element should have been parsed",
extensionsConfig);
int extensionCount = 0;
for(Iterator i = extensionsConfig.getMarkupExtensionConfgurations();
i.hasNext(); extensionCount++) {
i.next();
}
assertEquals("Wrong number of markup-extension object",
2,
extensionCount);
int count = 0;
for(Iterator i = extensionsConfig.getMarkupExtensionConfgurations();
i.hasNext();) {
MarkupExtensionConfiguration extensionConfig =
(MarkupExtensionConfiguration) i.next();
assertNotNull("MarkupExtensionConfiguration cannot be null",
extensionConfig);