I'm trying to upgrade the below from 3.5 RC1 and for some reason I get
this error
"The type TType must be a reference type in order to use it ..."
private MockRepository mockr;
protected MockRepository Mockr
{
get { return mockr; }
}
public virtual TType DynamicMock<TType>()
{
return mockr.DynamicMock<TType>();
}
What can I do to refactor this return statement such that I still get
the mock repository creating the dynamic mock like it would a stub in
3.6?
Also what happened to the behavior in 3.6 that changed the way this
static method works?
-Toran
--
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.