?????????????????????????API?????????????????????????????????????????????????????????????????ERPStore???????????

public AnonymousCheckoutController(
         ISalesService salesService
         ?? ICartService cartService
         ?? IAccountService accountService
         ?? IEmailerService emailerService
         ?? IDocumentService documentService
         ?? ICacheService cacheService
         ?? IAddressService addressService
         ?? CryptoService cryptoService
         ?? IIncentiveService IncentiveService)

?????????????????????????????α????Щ??????

var fakeSalesService = Isolate.Fake.Instance<SalesController>();
var fakeCartService = Isolate.Fake.Instance<ICartService>();
var fakeAccountService = Isolate.Fake.Instance<IAccountService>();
var fakeEmailerService = Isolate.Fake.Instance<IEmailerService>();
var fakeDocumentService= Isolate.Fake.Instance<IDocumentService>();
var fakeCacheService = Isolate.Fake.Instance<ICacheService>();
var fakeAddressService = Isolate.Fake.Instance<IAddressService>();
var fakeCryptoService = Isolate.Fake.Instance<CryptoService>();
var fakeIncentiveService = Isolate.Fake.Instance<IncentiveService>();


var controller = new AnonymousCheckoutController(
    fakeSalesService??
    fakeCartService??
    fakeAccountService??
    fakeEmailerService??
    fakeDocumentService??
    fakeCacheService??
    fakeAddressService??
    fakeCryptoService??
    fakeIncentiveService);

??????????????????????????????????????????????????????????????

???????????????????API?????????????????????????????????????

var controller = Isolate.Fake.Dependencies();

?????????????Fake.DependenciesAPI???????AnonymousCheckoutController???????????? ?????????????????α?????????????????漰???????????????????????仯???????????????????????????????С????????????????

?????????????

??????д???????????????????д?????????????????????????????????????????д??????????????·???????????????????????????????????ü??Щ?????????????????????????????????

??????????????Isolator????????????????????????????????Visual Studio????????????????????????ж????????????????????????顣