ACPTest.UITesting.RankingSubsequentSentences C# (CSharp) Method

RankingSubsequentSentences() private method

private RankingSubsequentSentences ( ) : void
return void
        public void RankingSubsequentSentences()
        {
            this.UIMap.LaunchMicrosoftWord();
            UIMap.RankingSubsequentSentences();
            UIMap.SaveDocument(directory + fileName);
            UIMap.ExitWindow();

            String output = UIMap.readFile(directory + fileName + ".txt");
            String expected = "While the CEO and co-founder of Apple steered most interviews away from the public fascination with his private life, there's plenty we know about Jobs the person, beyond the Mac and the iPhone. \r\nJobs was born in San Francisco on February 24, 1955. \r\nAfter reuniting, Jobs and Simpson developed a close relationship. \r\nAfter later mending their relationship, Jobs paid for his first daughter's education at Harvard.";

            File.Delete(directory + fileName + ".txt");

            Assert.AreEqual(output.Trim().ToLower(), expected.Trim().ToLower());
        }