Method ForDuplicateItem
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForDuplicateItem(string, string)
Creates an instance of the DistinctException class that is thrown when a duplicate item is found in a collection.
public static DistinctException ForDuplicateItem(string item, string collection)