@Test
public void testForwardedRead() {

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