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

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

공개 메소드들

메소드 설명
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ShippingMethod\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\ShippingMethod\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
iAddIt ( )
iChooseCalculator ( $calculatorName )
iDefineItForTheZone ( $zoneName )
iDeleteShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
iDescribeItAsIn ( $description, $language )
iDisableIt ( )
iDoNotNameIt ( )
iDoNotSpecifyItsZone ( )
iEnableIt ( )
iMakeItAvailableInChannel ( $channelName )
iNameItIn ( $name, $language )
iRemoveItsNameFromTranslation ( $language )
iSaveMyChanges ( )
iShouldBeNotifiedThatAmountForChannelShouldNotBeBlank ( Sylius\Component\Channel\Model\ChannelInterface $channel )
iShouldBeNotifiedThatCodeShouldContain ( )
iShouldBeNotifiedThatElementHasToBeSelected ( $element )
iShouldBeNotifiedThatIsRequired ( $element )
iShouldBeNotifiedThatItIsInUse ( )
iShouldBeNotifiedThatShippingMethodWithThisCodeAlreadyExists ( )
iShouldSeeShippingMethodsInTheList ( $numberOfShippingMethods )
iSortShippingMethodsBy ( $field )
iSpecifyItsAmountForChannel ( $amount, Sylius\Component\Channel\Model\ChannelInterface $channel )
iSpecifyItsCodeAs ( $code = null )
iSpecifyItsPositionAs ( $position = null )
iWantToBrowseShippingMethods ( )
iWantToCreateANewShippingMethod ( )
iWantToModifyAShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
shippingMethodWithElementValueShouldNotBeAdded ( $element, $name )
theCodeFieldShouldBeDisabled ( )
theFirstShippingMethodOnTheListShouldHave ( $field, $value )
theLastShippingMethodOnTheListShouldHave ( $field, $value )
theShipmentMethodShouldAppearInTheRegistry ( $shipmentMethodName )
theShippingMethodShouldBeAvailableInChannel ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, $channelName )
thereShouldStillBeOnlyOneShippingMethodWith ( $element, $code )
thisShippingMethodNameShouldBe ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, $shippingMethodName )
thisShippingMethodShouldBeDisabled ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
thisShippingMethodShouldBeEnabled ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
thisShippingMethodShouldNoLongerExistInTheRegistry ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
thisShippingMethodShouldStillBeInTheRegistry ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )

비공개 메소드들

메소드 설명
assertFieldValidationMessage ( string $element, string $expectedMessage )
assertShippingMethodState ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, boolean $state )

메소드 상세

__construct() 공개 메소드

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

iAddIt() 공개 메소드

public iAddIt ( )

iChooseCalculator() 공개 메소드

public iChooseCalculator ( $calculatorName )

iDefineItForTheZone() 공개 메소드

public iDefineItForTheZone ( $zoneName )

iDeleteShippingMethod() 공개 메소드

public iDeleteShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface

iDescribeItAsIn() 공개 메소드

public iDescribeItAsIn ( $description, $language )

iDisableIt() 공개 메소드

public iDisableIt ( )

iDoNotNameIt() 공개 메소드

public iDoNotNameIt ( )

iDoNotSpecifyItsZone() 공개 메소드

iEnableIt() 공개 메소드

public iEnableIt ( )

iMakeItAvailableInChannel() 공개 메소드

public iMakeItAvailableInChannel ( $channelName )

iNameItIn() 공개 메소드

public iNameItIn ( $name, $language )

iRemoveItsNameFromTranslation() 공개 메소드

public iRemoveItsNameFromTranslation ( $language )

iSaveMyChanges() 공개 메소드

public iSaveMyChanges ( )

iShouldBeNotifiedThatAmountForChannelShouldNotBeBlank() 공개 메소드

public iShouldBeNotifiedThatAmountForChannelShouldNotBeBlank ( Sylius\Component\Channel\Model\ChannelInterface $channel )
$channel Sylius\Component\Channel\Model\ChannelInterface

iShouldBeNotifiedThatCodeShouldContain() 공개 메소드

iShouldBeNotifiedThatElementHasToBeSelected() 공개 메소드

iShouldBeNotifiedThatIsRequired() 공개 메소드

public iShouldBeNotifiedThatIsRequired ( $element )

iShouldBeNotifiedThatItIsInUse() 공개 메소드

iShouldBeNotifiedThatShippingMethodWithThisCodeAlreadyExists() 공개 메소드

iShouldSeeShippingMethodsInTheList() 공개 메소드

public iShouldSeeShippingMethodsInTheList ( $numberOfShippingMethods )

iSortShippingMethodsBy() 공개 메소드

public iSortShippingMethodsBy ( $field )

iSpecifyItsAmountForChannel() 공개 메소드

public iSpecifyItsAmountForChannel ( $amount, Sylius\Component\Channel\Model\ChannelInterface $channel )
$channel Sylius\Component\Channel\Model\ChannelInterface

iSpecifyItsCodeAs() 공개 메소드

public iSpecifyItsCodeAs ( $code = null )

iSpecifyItsPositionAs() 공개 메소드

public iSpecifyItsPositionAs ( $position = null )

iWantToBrowseShippingMethods() 공개 메소드

iWantToCreateANewShippingMethod() 공개 메소드

iWantToModifyAShippingMethod() 공개 메소드

public iWantToModifyAShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface

shippingMethodWithElementValueShouldNotBeAdded() 공개 메소드

theCodeFieldShouldBeDisabled() 공개 메소드

theFirstShippingMethodOnTheListShouldHave() 공개 메소드

public theFirstShippingMethodOnTheListShouldHave ( $field, $value )

theLastShippingMethodOnTheListShouldHave() 공개 메소드

public theLastShippingMethodOnTheListShouldHave ( $field, $value )

theShipmentMethodShouldAppearInTheRegistry() 공개 메소드

public theShipmentMethodShouldAppearInTheRegistry ( $shipmentMethodName )

theShippingMethodShouldBeAvailableInChannel() 공개 메소드

public theShippingMethodShouldBeAvailableInChannel ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, $channelName )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface

thereShouldStillBeOnlyOneShippingMethodWith() 공개 메소드

public thereShouldStillBeOnlyOneShippingMethodWith ( $element, $code )

thisShippingMethodNameShouldBe() 공개 메소드

public thisShippingMethodNameShouldBe ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, $shippingMethodName )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface

thisShippingMethodShouldBeDisabled() 공개 메소드

public thisShippingMethodShouldBeDisabled ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface

thisShippingMethodShouldBeEnabled() 공개 메소드

public thisShippingMethodShouldBeEnabled ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface

thisShippingMethodShouldNoLongerExistInTheRegistry() 공개 메소드

public thisShippingMethodShouldNoLongerExistInTheRegistry ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface

thisShippingMethodShouldStillBeInTheRegistry() 공개 메소드

public thisShippingMethodShouldStillBeInTheRegistry ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface