Please create a test case for this, what you describe should not be possible
On Tue, Jun 30, 2009 at 9:10 AM, Matthew Evans <[email protected]>wrote: > > I have a small issue i havent been able to find any documentation on. > Using 3.3 I am creating a mock object say IMyObject. > IMyObject inherits from IMyParentObject. Now somewhere in the code the > mock object is being cast as IMyParentObject and return a null. > > My question is how do I prepare a mock to deal with castings implicit > and explicit? > 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 -~----------~----~----~----~------~----~------~--~---
