Unfortunately method aren`t virtual. Class which cause the problem is
"Command" in WPF. I use it with MVVM design pattern and in UnitTest I want
to check "what model do" with this class. Problem is that class is in
third-party library and doesn`t implement interface usable for mocking. Does
anybody have idea what to do it ?

O :-)

From: [email protected] [mailto:[email protected]] On
Behalf Of Ayende Rahien
Sent: Thursday, July 30, 2009 7:39 PM
To: [email protected]
Subject: [RhinoMocks] Re: Unexpected method call on mocked class

Are they virtual method calls?
On Wed, Jul 29, 2009 at 11:13 AM, Malda <[email protected]> wrote:

Is there a way how to force throw exception on unexpected method call
on mocked class ? It`s working on mocked interfaces but on mocked
classes unexpected method calls are ignored.





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