Hi,
I'm using JustMock Q1 2012 SP1 (2012.1.508.6) and when I try to create a mock of the same type as the one under test most of the test for the type are failing.
A simplified example of what I'm doing follows.
var mock = Mock.Create<MyTypeUnderTest>(Constructor.Mocked);
var target = new MyTypeUnderTest ();
target.TestMethod();
The only temporary solution I've found is to create the Mock with Behavior.CallOriginal.
Any solution for this?
Kind Regards,
Edoardo
I'm using JustMock Q1 2012 SP1 (2012.1.508.6) and when I try to create a mock of the same type as the one under test most of the test for the type are failing.
A simplified example of what I'm doing follows.
var mock = Mock.Create<MyTypeUnderTest>(Constructor.Mocked);
var target = new MyTypeUnderTest ();
target.TestMethod();
The only temporary solution I've found is to create the Mock with Behavior.CallOriginal.
Any solution for this?
Kind Regards,
Edoardo