public function PaymentPreRefundTest::setUp in Payment 8.2
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ Event/ PaymentPreRefundTest.php, line 33
Class
- PaymentPreRefundTest
- @coversDefaultClass \Drupal\payment\Event\PaymentPreRefund
Namespace
Drupal\Tests\payment\Unit\EventCode
public function setUp() : void {
$this->payment = $this
->createMock(PaymentInterface::class);
$this->sut = new PaymentPreRefund($this->payment);
}