public void TestMixedContent()
        {
            var elem = new Prompt();

            elem.AddText("before")
            .AddChild("Child").AddText("content");
            elem.AddText("after");

            Assert.AreEqual(
                "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + Environment.NewLine +
                "<Prompt>before<Child>content</Child>after</Prompt>",
                elem.ToString()
                );
        }
        public void TestElementWithTextNode()
        {
            var elem = new Prompt();

            elem.AddText("Here is the content");

            Assert.AreEqual(
                "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + Environment.NewLine +
                "<Prompt>Here is the content</Prompt>",
                elem.ToString()
                );
        }