BooleanAssertions Class
Definition
Provides assertions for boolean values.
c#
public sealed class BooleanAssertions : ObjectAssertions<BooleanAssertions, Boolean>Constructors
| Name | Description |
|---|---|
BooleanAssertions(Boolean) | Provides assertions for boolean values. |
Methods
| Name | Description |
|---|---|
BeFalse() | Asserts that the boolean value is false. |
BeTrue() | Asserts that the boolean value is true. |
NotBeFalse() | Asserts that the boolean value is not false. |
NotBeTrue() | Asserts that the boolean value is not true. |