/**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->setUpEbayServiceMocks();
     $config = ['store' => ['email' => '*****@*****.**', 'data' => ['location' => 'Varna', 'country' => 'BG'], 'ebaySite' => 'GB']];
     $this->ebayProvider = new EbayProviderMock($config, $this->tradingService);
 }
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->setUpEbayServiceMocks();
     $this->userToken = 'user-auth-token';
     $store = $this->sampleStore();
     $this->productUpdater = new ProductUpdateWrapper($this->userToken, $store, $this->tradingService);
 }
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->setUpEbayServiceMocks();
     $this->userToken = 'user-auth-token';
     $store = $this->sampleStore();
     $orderssWrapper = new OrdersWrapper($this->userToken, $store, $this->tradingService);
     $this->integrator = new EbayOrderIntegrator($orderssWrapper);
 }
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->setUpEbayServiceMocks();
     $this->userToken = 'user-auth-token';
     $store = $this->sampleStore();
     $productWrapper = new ProductWrapper($this->userToken, $store, $this->tradingService);
     $productUpdateWrapper = new ProductUpdateWrapper($this->userToken, $store, $this->tradingService);
     $categoriesWrapper = new CategoriesWrapper($this->userToken, $store, $this->tradingService);
     $detailsWrapper = new DetailsWrapper($this->userToken, $store, $this->tradingService);
     $this->productIntegrator = new EbayProductIntegrator($productWrapper, $productUpdateWrapper, $categoriesWrapper, $detailsWrapper);
 }
Пример #5
0
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->setUpEbayServiceMocks();
 }