Table of Contents

Class SupersetException

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

Exception thrown when Assert.Superset fails.

public class SupersetException : XunitException, ISerializable, IAssertionException
Inheritance
SupersetException
Implements
Inherited Members

Methods

ForFailure(string, string)

Creates a new instance of the SupersetException class to be thrown when a set is not a superset of another set

public static SupersetException ForFailure(string expected, string actual)

Parameters

expected string

The expected value

actual string

The actual value

Returns

SupersetException