public override object Create(CreationContext context, Type type) { object target = MockFactory.GenerateStub(new [] { type }); AutoMock.AddService(type, target); return(target); }