ACPTest.UITesting.ExtendTypesCombinationAfterPasting C# (CSharp) Method

ExtendTypesCombinationAfterPasting() private method

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

            String output = UIMap.readFile(directory + fileName + ".txt");
            String expected = "By thinking differently, Jobs placed himself squarely in the mainstream. With the invention of the iPod and iPhone, Apple went from a quirky underdog to a global powerhouse. Its ubiquitous";
            File.Delete(directory + fileName + ".txt");

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