BooleanAssertions Class
Definition
Provides assertions for boolean values.
public sealed class BooleanAssertions : ObjectAssertions<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. |