public void Setup() { helper = new Mock <IHelper>(); sidePanel = new Mock <ISidePanel>(); calculatorPanel = new Mock <ICalculatorPanel>(); form = new TestMainForm(); }
private MenuActionManager Init() { m_MainForm = new TestMainForm(); var user = new EidssUser(); user.Permissions = new Dictionary <string, bool> { { "Allow", true }, { "Deny", false } }; var target = new MenuActionManager(m_MainForm, m_MainForm.BarManager, m_MainForm.BarManager.Bars[0], user); target.ItemsStorage = EidssMenu.Instance; return(target); }