Table of Contents

Method ForGroupingWithMismatchedValues

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

ForGroupingWithMismatchedValues(object?, object?, string)

Creates a new instance of EquivalentException which shows a message that indicates that the fault comes from an individual value mismatch one of the members.

public static EquivalentException ForGroupingWithMismatchedValues(object? expected, object? actual, string keyName)

Parameters

expected object

The expected member value

actual object

The actual member value

keyName string

The name of the key with mismatched values

Returns