BandData rootBand = new BandData(BandData.ROOT_BAND_NAME);
rootBand.setData(new HashMap<String, Object>());
rootBand.setReportFieldFormats(report.getReportFieldFormats());
rootBand.setFirstLevelBandDefinitionNames(new HashSet<String>());
new DataExtractorImpl(new DefaultLoaderFactory().setGroovyDataLoader(new GroovyDataLoader(new DefaultScriptingImpl()))).extractData(report, new HashMap<String, Object>(), rootBand);
List<BandData> bands = rootBand.getChildrenByName("Band1");
for (BandData band : bands) {
if (((Integer)1).equals(band.getParameterValue("link"))) {
Assert.assertEquals(1, band.getParameterValue("col1"));