public void CommandLineHandlerDefaultsToIeTest()
        {
            const string testFile = "testFile.in";
            var fileWriter = new StreamWriter(testFile);
            fileWriter.Close();

            try
            {
                var testHandler = new CommandLineHandler(testFile);
                testHandler.Start();

                Assert.AreEqual(testHandler.GetBrowserType(), BrowserType.InternetExplorer);
            }
            finally
            {
                File.Delete(testFile);
            }
        }
        public void CommandLineHandlerCorrectlyDeterminesFirefoxTest()
        {
            const string testFile = "testFile.in";
            var fileWriter = new StreamWriter(testFile);
            fileWriter.WriteLine("!|FireFoxSWATFixture|");
            fileWriter.Close();

            try
            {
                var testHandler = new CommandLineHandler(testFile);
                testHandler.Start();

                Assert.AreEqual(testHandler.GetBrowserType(), BrowserType.FireFox);
            }
            finally
            {
                File.Delete(testFile);
            }
        }