public void TestAttachListener() { formulaData.SetFormType(FormType.Add); STEE.ISCS.MVC.IController controller = new FormulaDataController(); formulaData.AttachListener(controller); formulaData.SetFormType(FormType.Edit); formulaData.AttachListener(controller); }