final MasterReport report = (MasterReport) mgr.createDirectly(resource, MasterReport.class).getResource();
final GlobalAuthenticationStore globalAuthenticationStore = new GlobalAuthenticationStore();
final ReportRenderContext masterContext =
new ReportRenderContext(report, report, null, globalAuthenticationStore);
final SubReport subReport = report.getItemBand().getSubReport(0);
final ReportRenderContext subContext =
new ReportRenderContext(report, subReport, masterContext, globalAuthenticationStore);
final TestRootBandRenderer r = new TestRootBandRenderer(subReport.getPageFooter(), subContext);
final ValidateTextGraphics graphics2D = new ValidateTextGraphics(468, 108);
graphics2D.expect("Banded", "SubReport", "Footer");
assertTrue(graphics2D.hitClip(10, 10, 1, 1));
r.draw(graphics2D);