Class NotEmptyException
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
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.