IShopServiceClient.FindShops(ShopQueryForm, pageSize=1&pageNumber=1) invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
GetServiceClientMock<IShopServiceClient>().Setup(m =>
m.FindShops(It.Is<ShopQueryForm>(x => x.INN == Receipts[0].RetailInn), It.IsAny<Paginator>()))
.Returns<ShopQueryForm, Paginator>((query, paginator) =>
Task.FromResult(ShopsLists[0].ToPaginatedList(paginator)));
место исключения:
PaginatedList<ShopViewModel> shops = await _shopServiceClient.FindShops(new ShopQueryForm()
{
INN = receipt.RetailInn
}, new Paginator(1, 1));
помогите исправить, раньше вроде даже работало