是否有 FluentAssertions Should 用于检查 XML 文档与预期文档?

Is there a FluentAssertions Should for checking an XML document versus an expected document?

是否有 FluentAssertions "Should.Be" 用于检查整个 XML 文档与预期文档?

使用xDocument.BeEquivalentTo(otherxDocument)进行深度比较。请参阅源代码中的 [定义[(https://github.com/fluentassertions/fluentassertions/blob/master/Src/FluentAssertions/Xml/XDocumentAssertions.cs#L116 )。