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")); }