You are here

public function PaymentMethodBaseTest::testRefundPaymentWithoutPayment in Payment 8.2

@covers ::refundPayment

File

tests/src/Unit/Plugin/Payment/Method/PaymentMethodBaseTest.php, line 350

Class

PaymentMethodBaseTest
@coversDefaultClass \Drupal\payment\Plugin\Payment\Method\PaymentMethodBase

Namespace

Drupal\Tests\payment\Unit\Plugin\Payment\Method

Code

public function testRefundPaymentWithoutPayment() {
  $this
    ->expectException(\Exception::class);
  $this->sut
    ->refundPayment();
}