DateOnlyAssertions.BeBefore Method
Definition
Asserts that the DateOnly value is before the expected value.
c#
public AssertionsChain<DateOnlyAssertions, DateOnly> BeBefore(DateOnly expected);Parameters
| Name | Type | Description |
|---|---|---|
expected | DateOnly | The value the DateOnly should be before. |
Returns
AssertionsChain<DateOnlyAssertions, DateOnly>
An AssertionsChain<TAssertions, T> for chaining further assertions.