private void AssertReportContainsScriptSource(string repxFileName, String expectedScriptSource)
 {
     var reader = new XtraReportScriptExtractor(new XtraReportLoader(new XtraReport(), repxFileName));
     string source = reader.ExtractScripts();
     var parser = new XtraReportScriptParser();
     if (parser.RemoveIgnoredSections(expectedScriptSource) != parser.RemoveIgnoredSections(source))
         throw new Exception("Expected scripts source does not match.");
 }