public void GetUsageTest()
        {
            string expectedUsage = "tt.exe " + CommandLineParameterCollection.GetUsage() + Environment.NewLine;

            expectedUsage += CommandLineParameterCollection.GetHelpText();

            Assert.AreEqual(expectedUsage, SearchReplaceFileReplacer.GetUsage("tt.exe"));
        }
        public void GetHelpText_WillReturnHelpText()
        {
            string expectedHelpText = "S - " + HelpText.SearchString + " (optional)" + Environment.NewLine;

            expectedHelpText += "R - " + HelpText.ReplaceString + " (optional)" + Environment.NewLine;
            expectedHelpText += "O - " + HelpText.Option + Environment.NewLine;
            expectedHelpText += "F - " + HelpText.FileName + Environment.NewLine;
            expectedHelpText += "C - " + HelpText.ContinueOnError + " (optional)" + Environment.NewLine;
            expectedHelpText += "I - " + HelpText.IgnoreCase + " (optional)" + Environment.NewLine;
            expectedHelpText += "W - " + HelpText.WholeWordOnly + " (optional)" + Environment.NewLine;
            expectedHelpText += "D - " + HelpText.RecurseSubDir + " (optional)" + Environment.NewLine;
            expectedHelpText += "L - " + HelpText.ReplaceSearchStringByLowerCase + " (optional)" + Environment.NewLine;
            expectedHelpText += "P - " + HelpText.ParameterFile + " (optional)" + Environment.NewLine;
            expectedHelpText += HelpText.MoreInfo;

            Assert.AreEqual(expectedHelpText, CommandLineParameterCollection.GetHelpText());
        }