ACPTest.UITesting.ExtendParagraphAfterPasting C# (CSharp) Method

ExtendParagraphAfterPasting() private method

private ExtendParagraphAfterPasting ( ) : void
return void
        public void ExtendParagraphAfterPasting()
        {
            this.UIMap.LaunchMicrosoftWord();

            UIMap.ExtendParagraphAfterPasting();
            UIMap.SaveDocument(directory + fileName);
            UIMap.ExitWindow();

            String output = UIMap.readFile(directory + fileName + ".txt");
            String expected = "His adoptive parents, Paul and Clara Jobs, were Armenian and unable to have children. Steve was later joined in the family by his adopted sister Patti Jobs, born in 1958. The couple divorced in 1962. \r\n\r\nThough Steve did not know until much later, Abdulfattah Jandali later married Joanne Schieble and had another child, Mona, in 1957, whom they kept. Steve Jobs discovered he had a biological sister, the successful novelist Mona Simpson, at the age of 27. ";
            File.Delete(directory + fileName + ".txt");

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