I have a list with offerIds
which I pass to Moq setup. I am sure that in acting method execution I am calling this method with the same list but it returns null
. My question is can Moq recognize ref objects f.e. List
as the same Setup
params?
_userOrderRepositoryMock
.Setup(x => x.GetOrderIdsByOfferIds(offerIds))
.ReturnsAsync(new Dictionary<Guid, Guid>() { });
>()`
– Nkosi Oct 15 '20 at 15:27