pm.getFetchPlan().addFetchGroup("g3");
// get this so that h's value is loaded into cache.
FetchGroupTestObject o1 = getO1(pm);
FetchGroupTestObjectChild c1 = getC1(pm);
// DFG fields and fields in groups 1 and 3 should be loaded
checkChildObject(pm, c1, true, true, true, true, false, false,
true, true, false, true);
// upon accessing field b, nothing should change.
c1.getB();
checkChildObject(pm, c1, true, true, true, true, false, false,
true, true, false, true);
c1.getH();
}