}
public void testPdfPrinting () throws Exception
{
final MasterReport report = new MasterReport();
report.setPageDefinition(new SimplePageDefinition(PageFormatFactory.create(new PageSize(500, 400),
PageFormat.PORTRAIT, new Insets(0, 0, 0, 0)), 1, 2));
final Element topLabel = TableTestUtil.createDataItem("Top Label");
topLabel.getStyle().setStyleProperty(ElementStyleKeys.POS_Y, 0f);
final Element bottomLabel = TableTestUtil.createDataItem("Bottom Label");