Thanks again for pointing that to us. For JustMock you don’t have to specify explicitly that constructor shouldn’t be mocked rather by default the behavior is that it invokes the original (Like Moq).
public void PassArgumentsToConstructor_FakeMethods()
var fake = Mock.Create<
>(x => new Person(100));
However there is a point in the documentation on how you can mock the constructor, even if you don’t pass the instance via dependency Injection. For that i am creating a task and giving you some telerik points for it as well :-).
Here is the task for you to monitor:
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!