@Test
public void testReadFieldsNestedPojo() {

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