I'm using AutoFixture to populate a fairly huge interface object, but I'm getting a null (or default value) for every property. I've tried both:
var fixture = new Fixture();
var input = fixture.Create<Mock<ICustomer>>();
And:
var fixture = new Fixture();
fixture.Register(() => Mock.Of<ICustomer>());
var input = fixture.Create<ICustomer>();
In both cases, none of the properties on the resulting ICustomer
are populated. I'm guessing I've missed something obvious?