I am trying to write unit test for a method that accepts an IQueryable collection.
How do I instantiate a collection in my unit test before passing it to the test method? This is the default code in my test
IQueryable<Item> Items = null;
And here is what I tried to write
IQueryable<Item> Items = new IQueryable<Item>;
Am I making a school boy mistake?
suggy1982
source share