/** * @When I set its :optionName option to :optionValue */ public function iSetItsOptionAs($optionName, $optionValue) { $this->createPage->selectOption($optionName, $optionValue); }
/** * @When /^I set its price to ("(?:€|£|\$)[^"]+")$/ */ public function iSetItsPriceTo($price) { $this->createPage->specifyPrice($price); }
/** * @When I set its shipping category as :shippingCategoryName */ public function iSetItsShippingCategoryAs($shippingCategoryName) { $this->createPage->selectShippingCategory($shippingCategoryName); }