Mock<T>.RaiseAsync method for raising "async" events, i.e. events that use a Func<..., Task> or Func<..., ValueTask> delegate. (@stakx, #1313)
setup.Verifiable(Times times, [string failMessage]) method to specify the expected number of calls upfront. mock.Verify[All] can then be used to check whether the setup was called that many times. The upper bound (maximum allowed number of calls) will be checked right away, i.e. whenever a setup gets called. (@stakx, #1319)
Add ThrowsAsync methods for non-generic ValueTask (@johnthcall, #1235)
Fixed
Verifying a protected generic method that returns a value is broken (@nthornton2010, #1314)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps Moq from 4.18.4 to 4.20.1.
Release notes
Sourced from Moq's releases.
... (truncated)
Changelog
Sourced from Moq's changelog.
Commits
d6d8018
+Mᐁ includesa87166f
Fix footer include (should be raw file, not blob)0e22c7c
+Mᐁ includes4bd3396
Include sponsors footer directly instead of just sponsors list0097c35
Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0971e8c6
fix website url6057dd2
Add 💜 SponsorLink support2468823
Update links to renamed repo8b276a2
Bump EntityFramework from 6.2.0 to 6.4.4b77d2ff
Bump the system group with 1 updateDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)