Table of Contents

Method ForKeyFound

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

ForKeyFound(string, string)

Creates a new instance of the DoesNotContainException class to be thrown when the requested key was found in the dictionary.

public static DoesNotContainException ForKeyFound(string expectedKey, string keys)

Parameters

expectedKey string

The expected key value

keys string

The dictionary keys

Returns