public void testExternalInputsOutputs()
{
ProcessingElementNode a = new ProcessingElementNode("eu.admire.A");
ProcessingElementNode b = new ProcessingElementNode("eu.admire.B");
ExternalOutputNode out = new ExternalOutputNode("transfer1", "epr=\"xyz\"");
ExternalInputNode in = new ExternalInputNode("transfer1", "epr");
ResultNode result = new ResultNode("result");
a.connectOutput("out", 0, b.getInput("in", 0));
out.connectInput(b.getOutput("out", 0));
a.connectInput("in", 0, in.getOutput());
result.connectInput(b.getOutput("xxx", 0));
Graph graph = new Graph();
graph.add(a);
graph.add(b);
graph.add(in);