@Test
public void testReadFieldsPojo() {

	String[] readFields = { "int2; string1" };
	SingleInputSemanticProperties sp = new SingleInputSemanticProperties();
	SemanticPropUtil.getSemanticPropsSingleFromString(sp, null, null, readFields, pojoType, threeIntTupleType);
	FieldSet fs = sp.getReadFields(0);
	assertTrue(fs.size() == 2);
	assertTrue(fs.contains(1));
	assertTrue(fs.contains(3));
	readFields[0] = "*";
	sp = new SingleInputSemanticProperties();
	SemanticPropUtil.getSemanticPropsSingleFromString(sp, null, null, readFields, pojoType, intType);
	fs = sp.getReadFields(0);
	assertTrue(fs.size() == 4);
	assertTrue(fs.contains(0));
	assertTrue(fs.contains(1));
	assertTrue(fs.contains(2));
	assertTrue(fs.contains(3));
}