You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're doing nothing wrong, it's just that for back-compatibility reasons, VerifyAdd required at least one prior call to SetupAdd / SetupRemove on the same mock. (See #1058.) This requirement has recently been lifted by #1082 and your use case should work in the upcoming release (4.15.0).
Hi,
First of all thanks for this great framework, having a lot of fun using it!
I stumbled upon a problem with verifying add. I currently use the nuget version 4.14.7
<PackageReference Include="Moq" Version="4.14.7" />
The target framework is .net core 3.1
I tried following test:
I would expect this to pass, because it was subscribed once, but my Test tells me it was not called.
What am I doing wrong?
Cheers!
The text was updated successfully, but these errors were encountered: