assertNull(model.getCurrentFormFragment());
assertEquals(0, model.getNestingDepth());
model.pushGroup(styles, pageContext);
final FormFragmentData currentFormFragment = model.getCurrentFormFragment();
assertNotNull(currentFormFragment);
assertEquals(1, model.getNestingDepth());
model.popGroup();
assertEquals(currentFormFragment, model.getCurrentFormFragment());
assertEquals(0, model.getNestingDepth());
model.pushGroup(styles, pageContext);
final FormFragmentData newFormFragment = model.getCurrentFormFragment();
assertNotNull(currentFormFragment);
assertNotEquals(currentFormFragment, newFormFragment);
assertEquals(1, model.getNestingDepth());
}