Table of Contents

Class EmptyException

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

Exception thrown when Assert.Empty fails.

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

Methods

ForNonEmptyCollection(string)

Creates a new instance of the EmptyException to be thrown when the collection is not empty.

ForNonEmptyString(string)

Creates a new instance of the EmptyException to be thrown when the string is not empty.