public void TestCleanContent() { using (var withParagraph = new DocxDocument(Resources.DocumentWithParagraph)) using (var withOutParagraph = new DocxDocument(Resources.DocumentWithoutParagraph)) { withParagraph.CleanContent("Edit"); Assert.IsTrue(new DocxDocumentEqualityComparer().Equals(withOutParagraph, withParagraph)); } }