@Test
public void testForwardedBasicType() {

	String[] forwardedFields = {"f1->*"};
	SingleInputSemanticProperties sp = new SingleInputSemanticProperties();
	SemanticPropUtil.getSemanticPropsSingleFromString(sp, forwardedFields, null, null, threeIntTupleType, intType);
	assertTrue(sp.getForwardingTargetFields(0, 0).size() == 0);
	assertTrue(sp.getForwardingTargetFields(0, 1).contains(0));
	assertTrue(sp.getForwardingTargetFields(0, 2).size() == 0);
	forwardedFields[0] = "*->f2";
	sp = new SingleInputSemanticProperties();
	SemanticPropUtil.getSemanticPropsSingleFromString(sp, forwardedFields, null, null, intType, threeIntTupleType);
	assertTrue(sp.getForwardingTargetFields(0, 0).contains(2));
	forwardedFields[0] = "*->*";
	sp = new SingleInputSemanticProperties();
	SemanticPropUtil.getSemanticPropsSingleFromString(sp, forwardedFields, null, null, intType, intType);
	assertTrue(sp.getForwardingTargetFields(0, 0).contains(0));
}