Sylius\Behat\Page\Shop\Account\Order\IndexPageInterface::isOrderWithNumberInTheList PHP Méthode

isOrderWithNumberInTheList() public méthode

public isOrderWithNumberInTheList ( string $number ) : boolean
$number string
Résultat boolean
    public function isOrderWithNumberInTheList($number);

Usage Example

Exemple #1
0
 /**
  * @Then this order should have :order number
  */
 public function thisOrderShouldHaveNumber(OrderInterface $order)
 {
     Assert::true($this->orderIndexPage->isOrderWithNumberInTheList($order->getNumber()), sprintf('Cannot find order with number "%s" in the list.', $order->getNumber()));
 }