Why is a moced collection class not populated inside method that is tested?
I am testing a method that is populating a custom collection.
My custom collection class has a method that requires some advanced stuff that is not important for my test, so I tried to mock the collection object to setup a mock for that method. The custom collection is input parameter to the method I am testing, so I send in the mocked object as input.