public void testMultipleInputsWithTypes() throws Exception
{
List<ProcessingElementInputDescriptor> inputDescriptors =
new ArrayList<ProcessingElementInputDescriptor>();
ProcessingElementInputDescriptor inputDesc = new ProcessingElementInputDescriptor("in1");
inputDesc.setSType(new PrimitiveSType("mytype"));
inputDescriptors.add(inputDesc);
inputDesc = new ProcessingElementInputDescriptor("in2");
TupleSType tuple = new TupleSType();
tuple.addElement("a", new PrimitiveSType("Integer"));
tuple.addElement("b", new PrimitiveSType("String"));
tuple.setRest(true);
inputDesc.setSType(tuple);
inputDescriptors.add(inputDesc);
List<ProcessingElementOutputDescriptor> outputDescriptors =
new ArrayList<ProcessingElementOutputDescriptor>();
ProcessingElementOutputDescriptor outputDesc = new ProcessingElementOutputDescriptor("in1");
outputDesc.setSType(new PrimitiveSType("mytype"));