public void testSimple() throws TypeIncompatibleException
{
SimpleTupleTypeConverter converter = new SimpleTupleTypeConverter();
converter.setTypeConverter(mConverter);
ProcessingElementInputDescriptor input = new ProcessingElementInputDescriptor("input");
TupleDType tupleIn = new TupleDType();
SimpleDType d = new SimpleDType();
d.setRepresents(new SimpleSemanticType("", "tempInKelvin"));
tupleIn.addElement("min", d);
tupleIn.addElement("max", d);
input.setDType(new CollectionDType(tupleIn, CollectionDType.LIST));
TupleDType tupleOut = new TupleDType();
d = new SimpleDType();
d.setRepresents(new SimpleSemanticType("", "tempInCelsius"));
tupleOut.addElement("min", d);
tupleOut.addElement("max", d);
ProcessingElementOutputDescriptor output = new ProcessingElementOutputDescriptor("output");
output.setDType(new CollectionDType(tupleOut, CollectionDType.LIST));
RequestNode result = converter.checkCompatibility(output, input);
TestCase.assertTrue(result instanceof CompositeProcessingElement);