Why do you want to do that?

On Wed, Dec 3, 2008 at 12:21 PM, korkless <[EMAIL PROTECTED]> wrote:

>
> hi, it's possible to add an empty constructor to the returned mocks/
> stub ?
>
> what i need it's that
>
> IMyInterface obj = rep.CreateMock<IMyInterface>();
>
> Type objType = obj.GetType();
>
> IMyInterface obj2 = (IMyInterface ) Activator.CreateInstance(objType);
> >
>

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