As I understand it Oren put this in per someone's request.   I don't know
all the backstory on it, but I believe you now CAN test interaction with a
stub.

On Tue, Dec 9, 2008 at 8:22 AM, korkless <[EMAIL PROTECTED]> wrote:

>
> hi, for what i understood a stub object it's only used to test state,
> not behaviour, so, for me, the code
> StubObj.AssertWasCalled(...)
> have not sense, becouse if i want to test it i must use a mock object
> becouse it is an expectation on a method call.
>
> somebody can explain me why/when it's needed to use AssertWasCalled?
>
> thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
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