Hi Guillaume,
The short answer: Use a field instead of a property:
protected ClassToFake fake;
The longer answer:
Using Isolate.Fake.Instance, you created a fake for your ClassToFake. But, in your Verify statement, the lambda expression used the getter method of your Tests clsas, generated by the auto-property:
() => this.get_fake().VerifyMe()
Tests class wasn't faked ofcourse, thus the exception.
If you still prefer using a property, you can extract the faked object prior to the Verify statement:
var fakeObject = fake;
Isolate.Verify.WasCalledWithAnyArguments(() => fakeObject.VerifyMe());
_________________
Regards
Yonatan,
TypeMock Support Group