public void TestEmulateAppendText()
 {
     WPFRichTextBox textBox = new WPFRichTextBox(Target);
     textBox.EmulateAppendText("A");
     textBox.EmulateAppendText("B");
     Assert.AreEqual("AB", textBox.Text);
 }
 public void TestEmulateClearText()
 {
     WPFRichTextBox textBox = new WPFRichTextBox(Target);
     textBox.EmulateAppendText("A");
     textBox.EmulateClearText();
     Assert.AreEqual(string.Empty, textBox.Text);
 }
 public void TestEmulateAppendTextAsync()
 {
     WPFRichTextBox textBox = new WPFRichTextBox(Target);
     CallRemoteMethod("AttachChangeTextEvent", textBox);
     Async async = new Async();
     textBox.EmulateAppendText("A", async);
     ClickNextMessageBox();
     Assert.AreEqual("A", textBox.Text);
 }