Method ForNonEmptyCollection
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForNonEmptyCollection(string)
Creates a new instance of the EmptyException to be thrown when the collection is not empty.
public static EmptyException ForNonEmptyCollection(string collection)
Parameters
collectionstringThe non-empty collection