Table of Contents

Method ForCollectionItemNotFound

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

ForCollectionItemNotFound(string, string)

Creates a new instance of the ContainsException class to be thrown when the requested item was not available in the collection.

public static ContainsException ForCollectionItemNotFound(string item, string collection)

Parameters

item string

The expected item value

collection string

The collection

Returns