DateOnlyAssertions.BeOnDayOfWeek Method
Definition
Asserts that the DateOnly value falls on the expected day of the week.
c#
public AssertionsChain<DateOnlyAssertions, DateOnly> BeOnDayOfWeek(DayOfWeek expected);Parameters
| Name | Type | Description |
|---|---|---|
expected | DayOfWeek | The expected day of the week. |
Returns
AssertionsChain<DateOnlyAssertions, DateOnly>
An AssertionsChain<TAssertions, T> for chaining further assertions.