Here is the problem in a nutshell, only two lines of code: IProfileRepository mock = mocks.StrictMock<IProfileRepository>();
Activator.CreateInstance(mock.GetType()); // this fails with "No parameterless constructor defined for this object" Why doesn't mock have default constructor? -- 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.
