예제 #1
0
 public ListingControllerTests()
 {
     _amazonListingSyncManager           = A.Fake <IAmazonListingSyncManager>();
     _amazonListingService               = A.Fake <IAmazonListingService>();
     _amazonAppSettings                  = A.Fake <AmazonAppSettings>();
     _prepareForSyncAmazonListingService = A.Fake <IPrepareForSyncAmazonListingService>();
     _listingController                  = new ListingController(_amazonListingSyncManager, _amazonListingService,
                                                                 _amazonAppSettings, _prepareForSyncAmazonListingService);
 }
예제 #2
0
 public ListingControllerTests()
 {
     _amazonListingSyncManager = A.Fake<IAmazonListingSyncManager>();
     _amazonListingService = A.Fake<IAmazonListingService>();
     _amazonAppSettings = A.Fake<AmazonAppSettings>();
     _prepareForSyncAmazonListingService = A.Fake<IPrepareForSyncAmazonListingService>();
     _listingController = new ListingController(_amazonListingSyncManager, _amazonListingService,
     _amazonAppSettings, _prepareForSyncAmazonListingService);
 }
 public ListingController(
     IAmazonListingSyncManager amazonListingSyncManager,
     IAmazonListingService amazonListingService,
     AmazonAppSettings amazonAppSettings, IPrepareForSyncAmazonListingService prepareForSyncAmazonListingService)
 {
     _amazonListingSyncManager           = amazonListingSyncManager;
     _amazonListingService               = amazonListingService;
     _amazonAppSettings                  = amazonAppSettings;
     _prepareForSyncAmazonListingService = prepareForSyncAmazonListingService;
 }