b.getStyle().setStyleProperty(ElementStyleKeys.BORDER_BOTTOM_STYLE, BorderStyle.SOLID);
b.getStyle().setStyleProperty(ElementStyleKeys.BORDER_TOP_STYLE, BorderStyle.SOLID);
addLabel("Text 1", b, 20);
addLabel("Text 2", b, 40);
header.addElement(b);
final LogicalPageBox logicalPageBox =
DebugReportRunner.layoutSingleBand(report, report.getReportHeader(), false, false);
// simple test, we assert that all paragraph-poolboxes are on either 485000 or 400000
// and that only two lines exist for each