PHP 클래스 Sylius\Behat\Context\Ui\Admin\ManagingZonesContext

저자: Arkadiusz Krakowiak ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__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 )