Class SameException
Exception thrown when Assert.Same fails.
public class SameException : XunitException, ISerializable, IAssertionException
- Inheritance
-
SameException
- Implements
- Inherited Members
Methods
ForFailure(string, string)
Creates a new instance of the SameException class to be thrown when two values are not the same instance.
public static SameException ForFailure(string expected, string actual)