Sylius\Behat\Page\Shop\Account\Order\IndexPageInterface::isOrderWithNumberInTheList PHP Method

isOrderWithNumberInTheList() public method

public isOrderWithNumberInTheList ( string $number ) : boolean
$number string
return boolean
    public function isOrderWithNumberInTheList($number);

Usage Example

コード例 #1
0
ファイル: AccountContext.php プロジェクト: Niiko/Sylius
 /**
  * @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()));
 }