public function PaymentMethodBaseTest::testCapturePaymentAccessWithoutPayment in Payment 8.2
@covers ::capturePaymentAccess
File
- tests/
src/ Unit/ Plugin/ Payment/ Method/ PaymentMethodBaseTest.php, line 325
Class
- PaymentMethodBaseTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\Method\PaymentMethodBase
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\MethodCode
public function testCapturePaymentAccessWithoutPayment() {
$this
->expectException(\Exception::class);
$account = $this
->createMock(AccountInterface::class);
$this->sut
->capturePaymentAccess($account);
}