Ayende @ Wiki

Discuss: Rhino Mocks Properties

Discussion for Rhino Mocks Properties.
2007/07/18 09:55 by c0achmcguirk
CreateType?
I just downloaded RhinoMocks-3.1.0 and I don't have mocks.CreateType...

MockRepository mocks = new MockRepository();

MyClass theClass = (MyClass) mocks.CreateType(typeOf(MyClass));

this doesn't compile... any ideas?
2009/04/27 13:41 by marcal
Re: CreateType?
+1. Perhaps he meant that this applies to all mock and stub creation?

ScrewTurn Wiki version 2.0 Beta. Some of the icons created by FamFamFam.