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

저자: Łukasz Chruściel ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__construct ( Sylius\Behat\Page\Admin\Channel\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Channel\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Channel\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
channelShouldNotHaveDefaultTaxZone ( Sylius\Component\Core\Model\ChannelInterface $channel )
channelWithShouldNotBeAdded ( $element, $value )
iAddIt ( )
iAllowToPayingForThisChannel ( $currencyCode )
iChooseAsABaseCurrency ( $currency = null )
iChooseAsADefaultLocale ( $locale = null )
iDefineItsColorAs ( $color )
iDeleteChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
iDescribeItAs ( $description )
iDisableIt ( )
iEnableIt ( )
iMakeItAvailableIn ( $locale )
iNameIt ( $name = null )
iRemoveItsDefaultTaxZone ( )
iSaveMyChanges ( )
iSelectDefaultTaxZone ( $taxZone )
iSelectTaxCalculationStrategy ( $taxCalculationStrategy )
iSetItsHostnameAs ( $hostname )
iShouldBeNotifiedThatAtLeastOneChannelHasToBeDefinedIsRequired ( )
iShouldBeNotifiedThatChannelWithThisCodeAlreadyExists ( )
iShouldBeNotifiedThatIsRequired ( $element )
iShouldBeNotifiedThatItCannotBeDeleted ( )
iShouldSeeChannelsInTheList ( $numberOfChannels )
iSpecifyItsCodeAs ( $code = null )
iWantToBrowseChannels ( )
iWantToCreateANewChannel ( )
iWantToModifyChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
payingInEuroShouldBePossibleForTheChannel ( $currencyCode, Sylius\Component\Core\Model\ChannelInterface $channel )
theBaseCurrencyFieldShouldBeDisabled ( )
theChannelShouldAppearInTheRegistry ( $channelName )
theChannelShouldBeAvailableIn ( Sylius\Component\Core\Model\ChannelInterface $channel, $locale )
theCodeFieldShouldBeDisabled ( )
theDefaultTaxZoneForTheChannelShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxZone )
theTaxCalculationStrategyForTheChannelShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxCalculationStrategy )
thereShouldStillBeOnlyOneChannelWithCode ( $element, $value )
thisChannelNameShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $channelName )
thisChannelShouldAppearInTheRegistry ( Sylius\Component\Core\Model\ChannelInterface $channel )
thisChannelShouldBeDisabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
thisChannelShouldBeEnabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
thisChannelShouldNoLongerExistInTheRegistry ( $channelName )

비공개 메소드들

메소드 설명
assertChannelState ( Sylius\Component\Core\Model\ChannelInterface $channel, boolean $state )

메소드 상세

__construct() 공개 메소드

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

channelShouldNotHaveDefaultTaxZone() 공개 메소드

public channelShouldNotHaveDefaultTaxZone ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

channelWithShouldNotBeAdded() 공개 메소드

public channelWithShouldNotBeAdded ( $element, $value )

iAddIt() 공개 메소드

public iAddIt ( )

iAllowToPayingForThisChannel() 공개 메소드

public iAllowToPayingForThisChannel ( $currencyCode )

iChooseAsABaseCurrency() 공개 메소드

public iChooseAsABaseCurrency ( $currency = null )

iChooseAsADefaultLocale() 공개 메소드

public iChooseAsADefaultLocale ( $locale = null )

iDefineItsColorAs() 공개 메소드

public iDefineItsColorAs ( $color )

iDeleteChannel() 공개 메소드

public iDeleteChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

iDescribeItAs() 공개 메소드

public iDescribeItAs ( $description )

iDisableIt() 공개 메소드

public iDisableIt ( )

iEnableIt() 공개 메소드

public iEnableIt ( )

iMakeItAvailableIn() 공개 메소드

public iMakeItAvailableIn ( $locale )

iNameIt() 공개 메소드

public iNameIt ( $name = null )

iRemoveItsDefaultTaxZone() 공개 메소드

iSaveMyChanges() 공개 메소드

public iSaveMyChanges ( )

iSelectDefaultTaxZone() 공개 메소드

public iSelectDefaultTaxZone ( $taxZone )

iSelectTaxCalculationStrategy() 공개 메소드

public iSelectTaxCalculationStrategy ( $taxCalculationStrategy )

iSetItsHostnameAs() 공개 메소드

public iSetItsHostnameAs ( $hostname )

iShouldBeNotifiedThatAtLeastOneChannelHasToBeDefinedIsRequired() 공개 메소드

iShouldBeNotifiedThatChannelWithThisCodeAlreadyExists() 공개 메소드

iShouldBeNotifiedThatIsRequired() 공개 메소드

public iShouldBeNotifiedThatIsRequired ( $element )

iShouldBeNotifiedThatItCannotBeDeleted() 공개 메소드

iShouldSeeChannelsInTheList() 공개 메소드

public iShouldSeeChannelsInTheList ( $numberOfChannels )

iSpecifyItsCodeAs() 공개 메소드

public iSpecifyItsCodeAs ( $code = null )

iWantToBrowseChannels() 공개 메소드

iWantToCreateANewChannel() 공개 메소드

iWantToModifyChannel() 공개 메소드

public iWantToModifyChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

payingInEuroShouldBePossibleForTheChannel() 공개 메소드

public payingInEuroShouldBePossibleForTheChannel ( $currencyCode, Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

theBaseCurrencyFieldShouldBeDisabled() 공개 메소드

theChannelShouldAppearInTheRegistry() 공개 메소드

public theChannelShouldAppearInTheRegistry ( $channelName )

theChannelShouldBeAvailableIn() 공개 메소드

public theChannelShouldBeAvailableIn ( Sylius\Component\Core\Model\ChannelInterface $channel, $locale )
$channel Sylius\Component\Core\Model\ChannelInterface

theCodeFieldShouldBeDisabled() 공개 메소드

theDefaultTaxZoneForTheChannelShouldBe() 공개 메소드

public theDefaultTaxZoneForTheChannelShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxZone )
$channel Sylius\Component\Core\Model\ChannelInterface

theTaxCalculationStrategyForTheChannelShouldBe() 공개 메소드

public theTaxCalculationStrategyForTheChannelShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxCalculationStrategy )
$channel Sylius\Component\Core\Model\ChannelInterface

thereShouldStillBeOnlyOneChannelWithCode() 공개 메소드

public thereShouldStillBeOnlyOneChannelWithCode ( $element, $value )

thisChannelNameShouldBe() 공개 메소드

public thisChannelNameShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $channelName )
$channel Sylius\Component\Core\Model\ChannelInterface

thisChannelShouldAppearInTheRegistry() 공개 메소드

public thisChannelShouldAppearInTheRegistry ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

thisChannelShouldBeDisabled() 공개 메소드

public thisChannelShouldBeDisabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

thisChannelShouldBeEnabled() 공개 메소드

public thisChannelShouldBeEnabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

thisChannelShouldNoLongerExistInTheRegistry() 공개 메소드