Method ForEqualCollections
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForEqualCollections(string, string, string?)
Creates a new instance of NotEqualException to be thrown when two collections are equal.
public static NotEqualException ForEqualCollections(string expected, string actual, string? collectionDisplay = null)
Parameters
expectedstringThe expected collection
actualstringThe actual collection
collectionDisplaystringThe display name for the collection type (defaults to "Collections")