XDocumentAssertions Class Methods
In This Topic
For a list of all members of this type, see XDocumentAssertions members.
Public Methods
| | Name | Description |
 | Be | Asserts that the current System.Xml.Linq.XDocument equals the document, using its System.Object.Equals(System.Object) implementation. |
 | BeAssignableTo | Overloaded. Asserts that the object is assignable to a variable of type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | BeEquivalentTo | Asserts that the current System.Xml.Linq.XDocument is equivalent to the document, using its System.Xml.Linq.XNode.DeepEquals(System.Xml.Linq.XNode,System.Xml.Linq.XNode) implementation. |
 | BeNull |
Asserts that the current object has not been initialized yet.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | BeOfType | Overloaded. Asserts that the object is of the specified type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | BeSameAs |
Asserts that an object reference refers to the exact same object as another object reference.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | Equals | (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | HaveElement | Overloaded. Asserts that the System.Xml.Linq.XDocument.Root element of the current System.Xml.Linq.XDocument has a direct child element with the specified expected name. |
 | HaveElementWithValue | Overloaded. Asserts that the System.Xml.Linq.XDocument.Root of the current System.Xml.Linq.XDocument has the specified child element with the specified expectedValue name. |
 | HaveRoot | Overloaded. Asserts that the current System.Xml.Linq.XDocument has a root element with the specified expected name. |
 | Match | Overloaded. Asserts that the predicate is satisfied. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | NotBe | Asserts that the current System.Xml.Linq.XDocument does not equal the document, using its System.Object.Equals(System.Object) implementation. |
 | NotBeAssignableTo | Overloaded. Asserts that the object is not assignable to a variable of type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | NotBeEquivalentTo | Asserts that the current System.Xml.Linq.XDocument is not equivalent to the document, using its System.Xml.Linq.XNode.DeepEquals(System.Xml.Linq.XNode,System.Xml.Linq.XNode) implementation. |
 | NotBeNull |
Asserts that the current object has been initialized.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | NotBeOfType | Overloaded. Asserts that the object is not of the specified type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | NotBeSameAs |
Asserts that an object reference refers to a different object than another object reference refers to.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
 | NotHaveElement | Overloaded. Asserts that the System.Xml.Linq.XDocument.Root of the current System.Xml.Linq.XDocument doesn't have the specified child element. |
 | NotHaveElementWithValue | Overloaded. Asserts that the System.Xml.Linq.XDocument.Root of the current System.Xml.Linq.XDocument either doesn't have the specified child element or doesn't have the specified unexpectedValue. |
 | Satisfy<T> | Allows combining one or more assertions using the other assertion methods that this library offers on an instance of . (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<XDocument,XDocumentAssertions>) |
Top
Extension Methods
See Also