Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.16.1
->4.17.1
Release Notes
moq/moq4
v4.17.1
Added
SetupSet
,VerifySet
methods formock.Protected().As<>()
(@tonyhallett, #1165)Throws
method overloads that allow specifying a function with or without parameters, to provide an exception, for example.Throws(() => new InvalidOperationException())
and
Setup(x => x.GetFooAsync(It.IsAny<string>()).Result).Throws((string s) => new InvalidOperationException(s))
. (@adam-knights, #1191)Changed
Castle.Core
(DynamicProxy) from version 4.4.0 to 4.4.1 (@stakx, #1233)Fixed
_
forIt.IsAny<>()
(@adamfk, #1199)mock.Protected()
setup methods fail when argument is of typeExpression
(@tonyhallett, #1189)Protected().SetupSet()
...VerifySet
(@tonyhallett, #1186)mock.Protected().As<>()
(@tonyhallett, #1185)Verify
fail when it should not (@evilc0, #1225)Mock.Of
(@stakx, #1066)SetupAllProperties
causes mocks to become race-prone (@estrizhok, #1231)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.