I have a method I need to test, as part of that method it gets a
object via a property which is just an interface.

I have my stub to return the happy noise for that property by stubbing
the interface, problem is, that I can't figure out how to get that
property to return the stub.   It appears I should be using a partial
mock and then the Stub method on the mock object, but I can't seem to
figure out the syntax for it.

NOTE:  This is a legacy brown-field application, I can't go changing
everything just for the tests!  To complicate matters, this is in VB,
so syntactically, I'm limited to what I normally wouldn't hesitate to
do in C#.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
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