public void Setup()
 {
     _mockSettings = new Mock<Settings>();
     _mockMessageWriter = new Mock<IMessageWriter>();
     _mockProcess = new Mock<IProcess>();
     _startupChecker = new StartUpChecker(_mockSettings.Object, _mockMessageWriter.Object, _mockProcess.Object);
 }
Example #2
0
        static void Main()
        {
            var startUpChecker = new StartUpChecker();
            startUpChecker.Run();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            using (var features = new FeaturesManager()) {
                Application.Run(new MainForm(features));
            }
        }