Ejemplo 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();
 }
Ejemplo n.º 2
0
 /**
  * @Given the store operates on a single channel
  */
 public function storeOperatesOnASingleChannel()
 {
     $defaultData = $this->defaultChannelFactory->create();
     $this->sharedStorage->setClipboard($defaultData);
 }
Ejemplo n.º 3
0
 /**
  * @Given the store is operating on a single channel
  */
 public function thatStoreIsOperatingOnASingleChannel()
 {
     $defaultData = $this->defaultFranceChannelFactory->create();
     $this->sharedStorage->setClipboard($defaultData);
 }