@Test
public void testConstantWildCard2() {

	// no spaces
	{
		String[] constantFields = { "1->*" };
		TypeInformation<?> type = new TupleTypeInfo<Tuple3<Integer, Integer, Integer>>(BasicTypeInfo.INT_TYPE_INFO,
				BasicTypeInfo.INT_TYPE_INFO, BasicTypeInfo.INT_TYPE_INFO);
		SingleInputSemanticProperties sp = SemanticPropUtil.getSemanticPropsSingleFromString(constantFields, null, null, type, type);

		FieldSet fs = sp.getForwardedField(1);
		Assert.assertTrue(fs.size() == 3);
		Assert.assertTrue(fs.contains(0));
		Assert.assertTrue(fs.contains(1));
		Assert.assertTrue(fs.contains(2));
		Assert.assertTrue(sp.getForwardedField(0) == null);
		Assert.assertTrue(sp.getForwardedField(2) == null);
	}
	
/		// with spaces
/		{
/			String[] constantFields = { "  1  -> * " };
/			TypeInformation<?> type = new TupleTypeInfo<Tuple3<Integer, Integer, Integer>>(BasicTypeInfo.INT_TYPE_INFO,
/					BasicTypeInfo.INT_TYPE_INFO, BasicTypeInfo.INT_TYPE_INFO);
/			SingleInputSemanticProperties sp = SemanticPropUtil.getSemanticPropsSingleFromString(constantFields, null, null, type, type);
/	
/			FieldSet fs = sp.getForwardedField(1);
/			Assert.assertTrue(fs.size() == 3);
/			Assert.assertTrue(fs.contains(0));
/			Assert.assertTrue(fs.contains(1));
/			Assert.assertTrue(fs.contains(2));
/			Assert.assertTrue(sp.getForwardedField(0) == null);
/			Assert.assertTrue(sp.getForwardedField(2) == null);
/		}
}