PHP Class Sylius\Behat\Context\Ui\Shop\CurrencyContext

Author: Kamil Kokot ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Behat\Page\Shop\HomePageInterface $homePage, Sylius\Component\Core\Currency\CurrencyStorageInterface $currencyStorage, Sylius\Behat\Service\SharedStorageInterface $sharedStorage )
iShouldBeAbleToShopUsingTheCurrency ( $currencyCode )
iShouldNotBeAbleToShop ( )
iShouldNotBeAbleToShopUsingTheCurrency ( $currencyCode )
iShouldShopUsingTheCurrency ( $currencyCode )
iSwitchTheCurrencyToTheCurrency ( $currencyCode )

Method Details

__construct() public method

public __construct ( Sylius\Behat\Page\Shop\HomePageInterface $homePage, Sylius\Component\Core\Currency\CurrencyStorageInterface $currencyStorage, Sylius\Behat\Service\SharedStorageInterface $sharedStorage )
$homePage Sylius\Behat\Page\Shop\HomePageInterface
$currencyStorage Sylius\Component\Core\Currency\CurrencyStorageInterface
$sharedStorage Sylius\Behat\Service\SharedStorageInterface

iShouldBeAbleToShopUsingTheCurrency() public method

public iShouldBeAbleToShopUsingTheCurrency ( $currencyCode )

iShouldNotBeAbleToShop() public method

iShouldNotBeAbleToShopUsingTheCurrency() public method

public iShouldNotBeAbleToShopUsingTheCurrency ( $currencyCode )

iShouldShopUsingTheCurrency() public method

public iShouldShopUsingTheCurrency ( $currencyCode )

iSwitchTheCurrencyToTheCurrency() public method

public iSwitchTheCurrencyToTheCurrency ( $currencyCode )