assertEquals(1, config.getTemplates().size());
final Template template = config.getTemplate("main");
assertNotNull(template);
assertEquals(1, template.getAttributes().size());
final Attribute attribute = template.getAttributes().get("att");
assertTrue(attribute instanceof AttributeWithConfigurationInjection);
((AttributeWithConfigurationInjection)attribute).assertInjected();
assertEquals(1, template.getProcessorGraph().getAllProcessors().size());
assertEquals(1, template.getProcessorGraph().getRoots().size());