Table of Contents

Method ForNonTrueValue

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

ForNonTrueValue(string?, bool?)

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

public static TrueException ForNonTrueValue(string? message, bool? value)

Parameters

message string

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

value bool?

The actual value

Returns