Esempio n. 1
0
 function it_sets_default_channel_in_the_shared_storage(SharedStorageInterface $sharedStorage, DefaultStoreDataInterface $defaultFranceChannelFactory, ChannelInterface $channel, ZoneInterface $zone)
 {
     $defaultData = ['channel' => $channel, 'zone' => $zone];
     $defaultFranceChannelFactory->create()->willReturn($defaultData);
     $sharedStorage->setClipboard($defaultData)->shouldBeCalled();
     $this->thatStoreIsOperatingOnASingleChannel();
 }
Esempio n. 2
0
 /**
  * @Given the store operates on a single channel
  */
 public function storeOperatesOnASingleChannel()
 {
     $defaultData = $this->defaultChannelFactory->create();
     $this->sharedStorage->setClipboard($defaultData);
 }
Esempio n. 3
0
 /**
  * @Given the store is operating on a single channel
  */
 public function thatStoreIsOperatingOnASingleChannel()
 {
     $defaultData = $this->defaultFranceChannelFactory->create();
     $this->sharedStorage->setClipboard($defaultData);
 }