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

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

공개 메소드들

메소드 설명
__construct ( Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ShippingCategory\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Crud\UpdatePageInterface $updatePage )
iAddIt ( )
iDeleteShippingCategory ( $shippingCategoryName )
iNameIt ( $shippingCategoryName = null )
iNameItIn ( $name )
iSaveMyChanges ( )
iShouldBeNotifiedThatCodeIsRequired ( $element )
iShouldBeNotifiedThatShippingCategoryWithThisCodeAlreadyExists ( )
iShouldSeeShippingCategoriesInTheList ( $numberOfShippingCategories )
iSpecifyItsCodeAs ( $shippingCategoryCode = null )
iSpecifyItsDescriptionAs ( $shippingCategoryDescription )
iWantToBrowseShippingCategories ( )
iWantToCreateANewShippingCategory ( )
iWantToModifyAShippingCategory ( Sylius\Component\Shipping\Model\ShippingCategoryInterface $shippingCategory )
shippingCategoryWithNameShouldNotBeAdded ( $shippingCategoryName )
theCodeFieldShouldBeDisabled ( )
theShippingCategoryShouldAppearInTheRegistry ( Sylius\Component\Shipping\Model\ShippingCategoryInterface $shippingCategory )
thereShouldStillBeOnlyOneShippingCategoryWith ( $code )
thisShippingCategoryNameShouldBe ( $shippingCategoryName )
thisShippingCategoryShouldNoLongerExistInTheRegistry ( Sylius\Component\Shipping\Model\ShippingCategoryInterface $shippingCategory )

메소드 상세

__construct() 공개 메소드

public __construct ( Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ShippingCategory\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Crud\UpdatePageInterface $updatePage )
$indexPage Sylius\Behat\Page\Admin\Crud\IndexPageInterface
$createPage Sylius\Behat\Page\Admin\ShippingCategory\CreatePageInterface
$updatePage Sylius\Behat\Page\Admin\Crud\UpdatePageInterface

iAddIt() 공개 메소드

public iAddIt ( )

iDeleteShippingCategory() 공개 메소드

public iDeleteShippingCategory ( $shippingCategoryName )

iNameIt() 공개 메소드

public iNameIt ( $shippingCategoryName = null )

iNameItIn() 공개 메소드

public iNameItIn ( $name )

iSaveMyChanges() 공개 메소드

public iSaveMyChanges ( )

iShouldBeNotifiedThatCodeIsRequired() 공개 메소드

iShouldBeNotifiedThatShippingCategoryWithThisCodeAlreadyExists() 공개 메소드

iShouldSeeShippingCategoriesInTheList() 공개 메소드

public iShouldSeeShippingCategoriesInTheList ( $numberOfShippingCategories )

iSpecifyItsCodeAs() 공개 메소드

public iSpecifyItsCodeAs ( $shippingCategoryCode = null )

iSpecifyItsDescriptionAs() 공개 메소드

public iSpecifyItsDescriptionAs ( $shippingCategoryDescription )

iWantToBrowseShippingCategories() 공개 메소드

iWantToCreateANewShippingCategory() 공개 메소드

iWantToModifyAShippingCategory() 공개 메소드

public iWantToModifyAShippingCategory ( Sylius\Component\Shipping\Model\ShippingCategoryInterface $shippingCategory )
$shippingCategory Sylius\Component\Shipping\Model\ShippingCategoryInterface

shippingCategoryWithNameShouldNotBeAdded() 공개 메소드

public shippingCategoryWithNameShouldNotBeAdded ( $shippingCategoryName )

theCodeFieldShouldBeDisabled() 공개 메소드

theShippingCategoryShouldAppearInTheRegistry() 공개 메소드

public theShippingCategoryShouldAppearInTheRegistry ( Sylius\Component\Shipping\Model\ShippingCategoryInterface $shippingCategory )
$shippingCategory Sylius\Component\Shipping\Model\ShippingCategoryInterface

thereShouldStillBeOnlyOneShippingCategoryWith() 공개 메소드

thisShippingCategoryNameShouldBe() 공개 메소드

public thisShippingCategoryNameShouldBe ( $shippingCategoryName )

thisShippingCategoryShouldNoLongerExistInTheRegistry() 공개 메소드

public thisShippingCategoryShouldNoLongerExistInTheRegistry ( Sylius\Component\Shipping\Model\ShippingCategoryInterface $shippingCategory )
$shippingCategory Sylius\Component\Shipping\Model\ShippingCategoryInterface