@Test
public void testConstantWildCard() {

	// no spaces
	{
		String[] constantFields = { "*" };

		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() == 1);
		Assert.assertTrue(fs.contains(1));

		fs = sp.getForwardedField(2);
		Assert.assertTrue(fs.size() == 1);
		Assert.assertTrue(fs.contains(2));

		fs = sp.getForwardedField(0);
		Assert.assertTrue(fs.size() == 1);
		Assert.assertTrue(fs.contains(0));
	}
	
/		// with spaces
/		{
/			String[] constantFields = { "   *   " };
/	
/			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() == 1);
/			Assert.assertTrue(fs.contains(1));
/	
/			fs = sp.getForwardedField(2);
/			Assert.assertTrue(fs.size() == 1);
/			Assert.assertTrue(fs.contains(2));
/	
/			fs = sp.getForwardedField(0);
/			Assert.assertTrue(fs.size() == 1);
/			Assert.assertTrue(fs.contains(0));
/		}
}