PHP Класс Sylius\Behat\Context\Ui\Admin\ManagingZonesContext

Автор: Arkadiusz Krakowiak ([email protected])
Наследование: implements Behat\Behat\Context\Context
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Sylius\Behat\Page\Admin\Zone\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Zone\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
iAddAZoneMember ( $name )
iAddIt ( )
iDeleteZoneNamed ( Sylius\Component\Addressing\Model\ZoneInterface $zone )
iDoNotAddACountryMember ( )
iDoNotSpecifyItsCode ( )
iDoNotSpecifyItsName ( )
iNameIt ( $name )
iRemoveTheMember ( Sylius\Component\Addressing\Model\ZoneMemberInterface $zoneMember )
iRenameItTo ( $name )
iSaveMyChanges ( )
iShouldBeNotifiedThatAtLeastOneZoneMemberIsRequired ( )
iShouldBeNotifiedThatIsRequired ( $element )
iShouldBeNotifiedThatThisZoneCannotBeDeleted ( )
iShouldBeNotifiedThatZoneWithThisCodeAlreadyExists ( )
iShouldSeeTheZoneNamedInTheList ( Sylius\Component\Addressing\Model\ZoneInterface $zone )
iShouldSeeZonesInTheList ( $number )
iSpecifyItsCodeAs ( $code )
iWantToCreateANewZoneWithMembers ( $memberType )
iWantToModifyAZoneNamed ( Sylius\Component\Addressing\Model\ZoneInterface $zone )
iWantToSeeAllZonesInStore ( )
itShouldBeOfType ( $type )
theCodeFieldShouldBeDisabled ( )
theTypeFieldShouldBeDisabled ( )
theZoneWithTheCountryShouldAppearInTheRegistry ( Sylius\Component\Addressing\Model\ZoneInterface $zone, Sylius\Component\Addressing\Model\ZoneMemberInterface $zoneMember )
thereShouldStillBeOnlyOneZoneWithCode ( $code )
thisZoneNameShouldBe ( Sylius\Component\Addressing\Model\ZoneInterface $zone, $name )
thisZoneShouldHaveOnlyTheProvinceMember ( Sylius\Component\Addressing\Model\ZoneInterface $zone, Sylius\Component\Addressing\Model\ZoneMemberInterface $zoneMember )
thisZoneShouldNoLongerExistInTheRegistry ( $zoneName )
zoneWithNameShouldNotBeAdded ( $element, $value )

Приватные методы

Метод Описание
assertZoneAndItsMember ( Sylius\Component\Addressing\Model\ZoneInterface $zone, Sylius\Component\Addressing\Model\ZoneMemberInterface $zoneMember )

Описание методов

__construct() публичный Метод

public __construct ( Sylius\Behat\Page\Admin\Zone\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Zone\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
$createPage Sylius\Behat\Page\Admin\Zone\CreatePageInterface
$indexPage Sylius\Behat\Page\Admin\Crud\IndexPageInterface
$updatePage Sylius\Behat\Page\Admin\Zone\UpdatePageInterface
$currentPageResolver Sylius\Behat\Service\Resolver\CurrentPageResolverInterface
$notificationChecker Sylius\Behat\Service\NotificationCheckerInterface

iAddAZoneMember() публичный Метод

public iAddAZoneMember ( $name )

iAddIt() публичный Метод

public iAddIt ( )

iDeleteZoneNamed() публичный Метод

public iDeleteZoneNamed ( Sylius\Component\Addressing\Model\ZoneInterface $zone )
$zone Sylius\Component\Addressing\Model\ZoneInterface

iDoNotAddACountryMember() публичный Метод

iDoNotSpecifyItsCode() публичный Метод

iDoNotSpecifyItsName() публичный Метод

iNameIt() публичный Метод

public iNameIt ( $name )

iRemoveTheMember() публичный Метод

public iRemoveTheMember ( Sylius\Component\Addressing\Model\ZoneMemberInterface $zoneMember )
$zoneMember Sylius\Component\Addressing\Model\ZoneMemberInterface

iRenameItTo() публичный Метод

public iRenameItTo ( $name )

iSaveMyChanges() публичный Метод

public iSaveMyChanges ( )

iShouldBeNotifiedThatAtLeastOneZoneMemberIsRequired() публичный Метод

iShouldBeNotifiedThatIsRequired() публичный Метод

public iShouldBeNotifiedThatIsRequired ( $element )

iShouldBeNotifiedThatThisZoneCannotBeDeleted() публичный Метод

iShouldBeNotifiedThatZoneWithThisCodeAlreadyExists() публичный Метод

iShouldSeeTheZoneNamedInTheList() публичный Метод

public iShouldSeeTheZoneNamedInTheList ( Sylius\Component\Addressing\Model\ZoneInterface $zone )
$zone Sylius\Component\Addressing\Model\ZoneInterface

iShouldSeeZonesInTheList() публичный Метод

public iShouldSeeZonesInTheList ( $number )

iSpecifyItsCodeAs() публичный Метод

public iSpecifyItsCodeAs ( $code )

iWantToCreateANewZoneWithMembers() публичный Метод

public iWantToCreateANewZoneWithMembers ( $memberType )

iWantToModifyAZoneNamed() публичный Метод

public iWantToModifyAZoneNamed ( Sylius\Component\Addressing\Model\ZoneInterface $zone )
$zone Sylius\Component\Addressing\Model\ZoneInterface

iWantToSeeAllZonesInStore() публичный Метод

itShouldBeOfType() публичный Метод

public itShouldBeOfType ( $type )

theCodeFieldShouldBeDisabled() публичный Метод

theTypeFieldShouldBeDisabled() публичный Метод

theZoneWithTheCountryShouldAppearInTheRegistry() публичный Метод

public theZoneWithTheCountryShouldAppearInTheRegistry ( Sylius\Component\Addressing\Model\ZoneInterface $zone, Sylius\Component\Addressing\Model\ZoneMemberInterface $zoneMember )
$zone Sylius\Component\Addressing\Model\ZoneInterface
$zoneMember Sylius\Component\Addressing\Model\ZoneMemberInterface

thereShouldStillBeOnlyOneZoneWithCode() публичный Метод

thisZoneNameShouldBe() публичный Метод

public thisZoneNameShouldBe ( Sylius\Component\Addressing\Model\ZoneInterface $zone, $name )
$zone Sylius\Component\Addressing\Model\ZoneInterface

thisZoneShouldHaveOnlyTheProvinceMember() публичный Метод

public thisZoneShouldHaveOnlyTheProvinceMember ( Sylius\Component\Addressing\Model\ZoneInterface $zone, Sylius\Component\Addressing\Model\ZoneMemberInterface $zoneMember )
$zone Sylius\Component\Addressing\Model\ZoneInterface
$zoneMember Sylius\Component\Addressing\Model\ZoneMemberInterface

thisZoneShouldNoLongerExistInTheRegistry() публичный Метод

zoneWithNameShouldNotBeAdded() публичный Метод

public zoneWithNameShouldNotBeAdded ( $element, $value )