public void testStartSection() throws Exception { ReportFormat rf = new ReportFormat(); String startSection = "start"; rf.setDocumentStartSection(startSection); ReportOutput result = runReportOnSampleData(rf); assertEquals("didn't output start section?", startSection, result.getDocumentStart()); }