AsyncActionAssertions.NotThrowAsync Method Definition Asserts that the async action does not throw any exception. public Task NotThrowAsync(); Returns Task A Task that completes successfully if no exception is thrown.