public void loadTestData() { applyRulesToFindingsControl = (ascx_ApplyRulesToFindings)O2AscxGUI.getAscx(applyRulesToFindingsControlName); var thread = applyRulesToFindingsControl.loadO2RulePack(rulePackFile); thread.Join(); rulePackViewerControl = applyRulesToFindingsControl.getRulePackViewerControl(); Assert.That(rulePackViewerControl.currentO2RulePack.o2Rules.Count > 0, "There were no rules loaded"); sourceFindingsViewerControl = applyRulesToFindingsControl.getSourceFindingsViewerControl(); thread = sourceFindingsViewerControl.loadO2Assessment(ozasmtFile); thread.Join(); Assert.That(sourceFindingsViewerControl.currentO2Findings.Count > 0, "There are no Findings loaded in the Source FindingsViewer"); resultsFindingsViewerControl = applyRulesToFindingsControl.getResultsFindingsViewerControl(); }