band.setName("group-outside");
band.getStyle().setStyleProperty(ElementStyleKeys.ORPHANS, 2);
band.getStyle().setStyleProperty(ElementStyleKeys.WIDOWS, 2);
band.addElement(createBand("group-header-outside"));
band.addElement(outsideBody);
band.addElement(createBand("group-footer-outside"));
final LogicalPageBox logicalPageBox = DebugReportRunner.layoutSingleBand(report, band, false, false);
final RenderNode grOut = MatchFactory.findElementByName(logicalPageBox, "group-outside");
assertTrue(grOut instanceof RenderBox);
final RenderBox grOutBox = (RenderBox) grOut;