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

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

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

Метод Описание
__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() публичный Метод