Write() 공개 메소드

public Write ( XObject node ) : string
node XObject
리턴 string
        public void WriterIsReusable()
        {
            // Arrange
            var writer = new XPathWriter();
            var element = new XElement("a");
            writer.Write(element);

            // Act
            var result = writer.Write(element);

            // Assert
            Assert.That(result, Is.EqualTo("/a"));
        }