assertTrue(attribute instanceof AttributeWithSpringInjection);
((AttributeWithSpringInjection)attribute).assertInjected();
assertEquals(1, template.getProcessorGraph().getAllProcessors().size());
assertEquals(1, template.getProcessorGraph().getRoots().size());
Processor processor = template.getProcessorGraph().getRoots().get(0).getProcessor();
assertTrue(processor.toString(), processor instanceof ProcessorWithSpringInjection);
((ProcessorWithSpringInjection)processor).assertInjected();
}