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
Moq.MockException: The following setups were not matched:
IBar m => m.Value
IBar m => m.Value
my setup: IFoo foo => foo.Bar.Value
The first two setups IBar m => m.Value should not be there, as there's no corresponding setup for them. (Where do those setups come from?) Their presence makes VerifyAll fail.
The text was updated successfully, but these errors were encountered:
The two setups IBar m => m.Value are property get/set setups caused by SetupAllProperties caused by traversing the recursive ("fluent") mock expression in QueryableMockExtensions.FluentMock<T, TResult>(this Mock<T>, Expression<Func<T, TResult>>).
This issue would therefore likely be solved by #426.
This has apparently been a problem with Moq for a long time:
The first two setups
IBar m => m.Value
should not be there, as there's no corresponding setup for them. (Where do those setups come from?) Their presence makesVerifyAll
fail.The text was updated successfully, but these errors were encountered: