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.

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rhinomocks/-/eGSOLNA2i94J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to