Class EmptyException
Exception thrown when a collection is unexpectedly not empty.
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class EmptyException : XunitException
Constructors
| Improve this Doc View SourceEmptyException(IEnumerable)
Creates a new instance of the EmptyException class.
Declaration
public EmptyException(IEnumerable collection)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | collection |
Properties
| Improve this Doc View SourceCollection
The collection that failed the test.
Declaration
public IEnumerable Collection { get; }
Property Value
Type | Description |
---|---|
IEnumerable |
Message
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
String |