Table of Contents

Method ForNonFalseValue

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

ForNonFalseValue(string?, bool?)

Creates a new instance of the FalseException class to be thrown when a non-false value was provided.

public static FalseException ForNonFalseValue(string? message, bool? value)

Parameters

message string

The message to be displayed, or null for the default message

value bool?

The actual value

Returns