BooleanExtensions.BeTrue Method
Definition
Asserts that the nullable boolean value is true.
c#
public static AssertionsChain<ObjectAssertions<bool?>, bool?> BeTrue(this ObjectAssertions<bool?> assertions);Parameters
| Name | Type | Description |
|---|---|---|
assertions | ObjectAssertions<Boolean?> | The assertions object. |
Returns
AssertionsChain<ObjectAssertions<Boolean?>, Boolean?>
An AssertionsChain<TAssertions, T> for chaining further assertions.