Example #1
0
 /**
  * @Given /^(it) has the (zone named "([^"]+)")$/
  * @Given /^(it) also has the (zone named "([^"]+)")$/
  */
 public function itHasTheZoneMemberAndTheZoneMember(ZoneInterface $parentZone, ZoneInterface $childZone)
 {
     $parentZone->setType(ZoneInterface::TYPE_ZONE);
     $parentZone->addMember($this->createZoneMember($childZone));
     $this->objectManager->flush();
 }