Class StrictEqualException
Exception thrown when Assert.StrictEqual fails.
public class StrictEqualException : XunitException, ISerializable, IAssertionException
- Inheritance
-
StrictEqualException
- Implements
- Inherited Members
Methods
ForEqualValues(string, string)
Creates a new instance of StrictEqualException to be thrown when two values are not strictly equal.
public static StrictEqualException ForEqualValues(string expected, string actual)