ProcessorDependencyGraph graph = template.getProcessorGraph();
List<ProcessorGraphNode> roots = graph.getRoots();
assertEquals(1, roots.size());
final ProcessorGraphNode processor = roots.get(0);
assertEquals(classUnderTest(), processor.getProcessor().getClass());
final Set dependencies = processor.getAllProcessors();
dependencies.remove(processor.getProcessor());
assertEquals(1, dependencies.size());
assertEquals(testProcessorClass(), dependencies.iterator().next().getClass());
Values values = new Values();
values.put(Values.CLIENT_HTTP_REQUEST_FACTORY_KEY, this.httpClientFactory);