Skip to content

BooleanExtensions Class

Definition

Extension methods that provide boolean-specific assertions for nullable boolean values.

public static class BooleanExtensions

Methods

Name Description
BeFalse(ObjectAssertions<Boolean?>) Asserts that the nullable boolean value is false.
BeTrue(ObjectAssertions<Boolean?>) Asserts that the nullable boolean value is true.
NotBeFalse(ObjectAssertions<Boolean?>) Asserts that the nullable boolean value is not false.
NotBeTrue(ObjectAssertions<Boolean?>) Asserts that the nullable boolean value is not true.