Class EndsWithException
Exception thrown when Assert.EndsWith fails.
public class EndsWithException : XunitException, ISerializable, IAssertionException
- Inheritance
-
EndsWithException
- Implements
- Inherited Members
Methods
ForStringNotFound(string?, string?)
Creates an instance of the EndsWithException class to be thrown when a string does not end with the given value.
public static EndsWithException ForStringNotFound(string? expected, string? actual)