// // System.Xml.XmlTextWriterTests // // Author: // Kral Ferch // // (C) 2002 Kral Ferch // using System; using System.Xml; using NUnit.Framework; namespace MonoTests.System.Xml { public class XmlProcessingInstructionTests : TestCase { public XmlProcessingInstructionTests () : base ("MonoTests.System.Xml.XmlProcessingInstructionTests testsuite") {} public XmlProcessingInstructionTests (string name) : base (name) {} XmlDocument document; XmlProcessingInstruction pi; protected override void SetUp () { document = new XmlDocument (); } public void TestInnerAndOuterXml () { pi = document.CreateProcessingInstruction ("foo", "bar"); AssertEquals (String.Empty, pi.InnerXml); AssertEquals ("", pi.OuterXml); } } }