OK, I can't remember I test that I did get that error from; I think I may have changed the architecture before waiting for the result, sorry.
But I am getting this on a similar example, and I tried this to no avail:
[Test]
public void GettingAllPropertiesReturnsCorrectCollection()
{
object propertyCollectionFake = Isolate.Fake.Instance<PropertyCollection>();
var mFake = Isolate.Fake.Instance<ModTest>();
Isolate.SwapNextInstance<ModTest>();
Isolate.NonPublic.Property.WhenGetCalled(mFake, "Properties").WillReturn(propertyCollectionFake);
ModTest test = new ModTest();
Assert.AreEqual(propertyCollectionFake, test.GetProperties());
}
The error is:
Nucleo.Model.BaseModuleTest.GettingAllPropertiesReturnsCorrectCollection:
TypeMock.TypeMockException :
*** No get property with name Properties in type Nucleo.Model.BaseModuleTest exists.
at a9.a(Type A_0, String A_1, c3 A_2, Boolean A_3)
at dt.a(Object A_0, String A_1)
at Nucleo.Model.BaseModuleTest.GettingAllPropertiesReturnsCorrectCollection()