Is there an mechanism where I can construct the object using mock repository without having to pass the parameters. I am expecting the parameters to be created as mock.
In my test, I can get the mocked parameters injected from the repository, so I can setup appropriate expectation for the test case.
I have found myself updating lot of test cases when there is code change in class under test where constructor parameters are changed.