[Solved] Unit Testing with ForEach [closed]
There is probably a lot you could do, but the first thing to do would be to make it more readable. Perhaps something like this: var nullActivities = from p in partnerList from t in p.Tenants let activity = agent.GetShopActivity(t, startDate, endDate) where activity == null select activity; Assert.Empty(nullActivities); Moreover: you may want to think … Read more