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