Table of Contents

Class ProperSupersetException

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

Exception thrown when Assert.ProperSuperset fails.

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

Methods

ForFailure(string, string)

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

public static ProperSupersetException ForFailure(string expected, string actual)

Parameters

expected string

The expected value

actual string

The actual value

Returns

ProperSupersetException