コード例 #1
0
ファイル: CheckoutContext.php プロジェクト: remyma/Sylius
 /**
  * @Then I should see two cancelled payments and new one ready to be paid
  */
 public function iShouldSeeTwoCancelledPaymentsAndNewOneReadyToBePaid()
 {
     expect($this->orderPaymentsPage->countPaymentWithSpecificState(PaymentInterface::STATE_CANCELLED))->toBe(2);
     expect($this->orderPaymentsPage->countPaymentWithSpecificState(PaymentInterface::STATE_NEW))->toBe(1);
 }