report.setParameterDefinition(pdef);
MasterReport result = ReportWritingUtil.saveAndLoad(report);
ReportParameterDefinition parameterDefinition = result.getParameterDefinition();
assertEquals(1, parameterDefinition.getParameterCount());
ParameterDefinitionEntry resultParam = parameterDefinition.getParameterDefinition(0);
assertTrue(resultParam instanceof DefaultListParameter);
DefaultListParameter lp = (DefaultListParameter) resultParam;
assertEquals("", lp.getKeyColumn());
assertEquals("", lp.getTextColumn());
assertEquals("dummy-query", lp.getQueryName());