Thank you for your interest in JustMock.
Mocking a constructor should be done the same way as any other member or method of a class.
Here is example code where we create one instance and then mock the constructor to always return that value:
var instanceToBeReturned =
var newInstanceThatIsMocked =
If you execute the code you will see that the hash code of both instances is the same.
You might also want to take a look at these examples too:
Let us know if that helps you in for your scenario.
Telerik by Progress
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items