String implementation = "use eu.admire.D; use eu.admire.E; D d = new D; E e = new E; d.out => e.in; " +
"PE(<Connection in> => <Connection out>) B = PE(<Connection in=d.in> => <Connection out=e.out>);" +
"register B;";
registry.registerProcessingElement(desc, implementation);
insert.setAdmireRegistry(registry);
insert.setDispelOptimiser(new SimpleDispelOptimiser());
RequestContext context = new MockRequestContext();
Graph graph = new Graph();
ProcessingElementNode a = new ProcessingElementNode("eu.admire.A");
ProcessingElementNode b = new ProcessingElementNode("B");
b.connectInput("in", 0, a.getOutput("out", 0));