XmlElementAssertions Class Methods
In This Topic
For a list of all members of this type, see XmlElementAssertions members.
Public Methods
| | Name | Description |
 | BeAssignableTo | Overloaded. Asserts that the object is assignable to a variable of type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | BeEquivalentTo | Asserts that the current System.Xml.XmlNode is equivalent to the node. (Inherited from FluentAssertions.Xml.XmlNodeAssertions<XmlElement,XmlElementAssertions>) |
 | BeNull |
Asserts that the current object has not been initialized yet.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | BeOfType | Overloaded. Asserts that the object is of the specified type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | BeSameAs |
Asserts that an object reference refers to the exact same object as another object reference.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | Equals | (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | HaveAttribute | Asserts that the current System.Xml.XmlElement has an attribute with the specified and . |
 | HaveAttributeWithNamespace | Asserts that the current System.Xml.XmlElement has an attribute with the specified , and . |
 | HaveElement | Asserts that the current System.Xml.XmlElement has a direct child element with the specified name, ignoring the namespace. |
 | HaveElementWithNamespace | Asserts that the current System.Xml.XmlElement has a direct child element with the specified name and namespace. |
 | HaveInnerText | Asserts that the current System.Xml.XmlElement has the specified inner text. |
 | Match | Overloaded. Asserts that the predicate is satisfied. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | NotBeAssignableTo | Overloaded. Asserts that the object is not assignable to a variable of type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | NotBeEquivalentTo | Asserts that the current System.Xml.XmlNode is not equivalent to the node. (Inherited from FluentAssertions.Xml.XmlNodeAssertions<XmlElement,XmlElementAssertions>) |
 | NotBeNull |
Asserts that the current object has been initialized.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | NotBeOfType | Overloaded. Asserts that the object is not of the specified type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | NotBeSameAs |
Asserts that an object reference refers to a different object than another object reference refers to.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<TSubject,TAssertions>) |
 | 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<TSubject,TAssertions>) |
Top
Extension Methods
See Also