Skip to content

BooleanExtensions.NotBeTrue Method ​

Definition ​

Asserts that the nullable boolean value is not true.

c#
public static AssertionsChain<ObjectAssertions<bool?>, bool?> NotBeTrue(this ObjectAssertions<bool?> assertions);

View source

Parameters ​

NameTypeDescription
assertionsObjectAssertions<Boolean?>The assertions object.

Returns ​

AssertionsChain<ObjectAssertions<Boolean?>, Boolean?>

An AssertionsChain<TAssertions, T> for chaining further assertions.