PHP 클래스 Elcodi\Store\ProductBundle\Behat\Context

상속: extends Elcodi\Bridge\BehatBridgeBundle\Abstracts\AbstractElcodiContext
파일 보기 프로젝트 열기: elcodi/bamboo

공개 메소드들

메소드 설명
iAmOnThePackPage ( $packId )
iAmOnTheProductPage ( $productId )
iShouldSeeCategoryMenuItem ( Behat\Gherkin\Node\TableNode $table )
iShouldSeeExactlyXProducts ( $numberOfProducts )
iShouldSeeLessThanXProducts ( $numberOfProducts )
iShouldSeeMoreThanXProducts ( $numberOfProducts )
iShouldSeePurchasableName ( $id )

보호된 메소드들

메소드 설명
getCategory ( integer $categoryId ) : Elcodi\Component\Product\Entity\Interfaces\CategoryInterface Get category by id
getItemElements ( ) : Behat\Mink\Element\NodeElement[]
getPurchasable ( integer $purchasableId ) : Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface Get purchasable by id

메소드 상세

getCategory() 보호된 메소드

Get category by id
protected getCategory ( integer $categoryId ) : Elcodi\Component\Product\Entity\Interfaces\CategoryInterface
$categoryId integer Category Id
리턴 Elcodi\Component\Product\Entity\Interfaces\CategoryInterface Category

getItemElements() 보호된 메소드

protected getItemElements ( ) : Behat\Mink\Element\NodeElement[]
리턴 Behat\Mink\Element\NodeElement[]

getPurchasable() 보호된 메소드

Get purchasable by id
protected getPurchasable ( integer $purchasableId ) : Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface
$purchasableId integer Purchasable Id
리턴 Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface Purchasable

iAmOnThePackPage() 공개 메소드

public iAmOnThePackPage ( $packId )

iAmOnTheProductPage() 공개 메소드

public iAmOnTheProductPage ( $productId )

iShouldSeeCategoryMenuItem() 공개 메소드

public iShouldSeeCategoryMenuItem ( Behat\Gherkin\Node\TableNode $table )
$table Behat\Gherkin\Node\TableNode

iShouldSeeExactlyXProducts() 공개 메소드

public iShouldSeeExactlyXProducts ( $numberOfProducts )

iShouldSeeLessThanXProducts() 공개 메소드

public iShouldSeeLessThanXProducts ( $numberOfProducts )

iShouldSeeMoreThanXProducts() 공개 메소드

public iShouldSeeMoreThanXProducts ( $numberOfProducts )

iShouldSeePurchasableName() 공개 메소드

public iShouldSeePurchasableName ( $id )