AsyncActionAssertions Constructors
Provides assertions for async actions (delegates returning Task), such as verifying that exceptions are thrown.
c#
public AsyncActionAssertions(Func<Task> action);Parameters
| Name | Type | Description |
|---|---|---|
action | Func<Task> | The async action to assert on. |