public theProductForCurrencyAndChannelShouldBePricedAt ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant, Sylius\Component\Currency\Model\CurrencyInterface $currency, Sylius\Component\Core\Model\ChannelInterface $channel, $price ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface | |
$currency | Sylius\Component\Currency\Model\CurrencyInterface | |
$channel | Sylius\Component\Core\Model\ChannelInterface |
public function theProductForCurrencyAndChannelShouldBePricedAt(ProductVariantInterface $productVariant, CurrencyInterface $currency, ChannelInterface $channel, $price)
{
$this->updatePage->open(['id' => $productVariant->getId(), 'productId' => $productVariant->getProduct()->getId()]);
Assert::same($this->updatePage->getPricingConfigurationForChannelAndCurrencyCalculator($channel, $currency), $price);
}