Ah, now that I actually read the code, it make sense.I'll apply it shortly.

2009/7/23 Alexander Groß <[email protected]>

>
> On Jul 23, 8:36 pm, Ayende Rahien <[email protected]> wrote:
> > Explicit interface impl. cannot be mocked, they are not virtual
>
> In the sample I am stubbing an interface that inherits from the same
> generic interfaces twice. Also, it works with the patch in place which
> makes me wonder why this should not work after all.
>
> Then again, I wonder why Rhino Mocks silently stubs the first
> interface's member and throws an InvalidCastException only when
> accessing the second interface's member, which should not be possible
> w.r.t. to your statement above.
>
> Alex
> >
>

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