Class NotEmptyException
Exception thrown when Assert.NotEmpty fails.
public class NotEmptyException : XunitException, ISerializable, IAssertionException
- Inheritance
-
NotEmptyException
- Implements
- Inherited Members
Methods
ForNonEmptyCollection()
Creates a new instance of the NotEmptyException class to be thrown when a collection was unexpectedly empty.
public static NotEmptyException ForNonEmptyCollection()