public function PaymentQueuePaymentIdsAlterTest::setUp in Payment 8.2
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ Event/ PaymentQueuePaymentIdsAlterTest.php, line 53
Class
- PaymentQueuePaymentIdsAlterTest
- @coversDefaultClass \Drupal\payment\Event\PaymentQueuePaymentIdsAlter
Namespace
Drupal\Tests\payment\Unit\EventCode
public function setUp() : void {
$this->categoryId = $this
->randomMachineName();
$this->ownerId = $this
->randomMachineName();
$this->paymentIds = array(
$this
->randomMachineName(),
);
$this->sut = new PaymentQueuePaymentIdsAlter($this->queueId, $this->categoryId, $this->ownerId, $this->paymentIds);
}