public void SetUp() { var resourceServcie = MockRepository.GenerateStub<IResourceService>(); resourceServcie.Stub(x=>x.LoadIcon(FlowMate.TrayIconFileName)).Return(_trayIcon); _application = MockRepository.GenerateStub<IApplication>(); _systemTray = MockRepository.GenerateStub<ISystemTray>(); var flowMate = new FlowMate(_application, resourceServcie, _systemTray); flowMate.Run(); }
public static void Main() { var flowMate = new FlowMate(); flowMate.Run(); }