Beispiel #1
0
        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();
        }
Beispiel #2
0
 public static void Main()
 {
     var flowMate = new FlowMate();
     flowMate.Run();
 }