public function UnavailableTest::testExecutePayment in Payment 8.2
@covers ::executePayment
File
- tests/
src/ Unit/ Plugin/ Payment/ Method/ UnavailableTest.php, line 147
Class
- UnavailableTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\Method\Unavailable
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\MethodCode
public function testExecutePayment() {
$this
->expectException(\RuntimeException::class);
$this->sut
->executePayment();
}