Table of Contents

Method ForNonNullValue

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

ForNonNullValue(object)

Creates a new instance of the NullException class to be thrown when the given value was unexpectedly not null.

public static NullException ForNonNullValue(object actual)

Parameters

actual object

The actual non-null value

Returns