Class SubsetException
Exception thrown when Assert.Subset fails.
public class SubsetException : XunitException, ISerializable, IAssertionException
- Inheritance
-
SubsetException
- Implements
- Inherited Members
Methods
ForFailure(string, string)
Creates a new instance of the SubsetException class to be thrown when a set is not a subset of another set
public static SubsetException ForFailure(string expected, string actual)