public function PaymentExecutionPaymentMethodManagerTest::setUp in Payment 8.2
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ Plugin/ Payment/ Method/ PaymentExecutionPaymentMethodManagerTest.php, line 53
Class
- PaymentExecutionPaymentMethodManagerTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\Method\PaymentExecutionPaymentMethodManager
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\MethodCode
public function setUp() : void {
$this->account = $this
->createMock(AccountInterface::class);
$this->payment = $this
->createMock(PaymentInterface::class);
$this->paymentMethodManager = $this
->createMock(PaymentMethodManagerInterface::class);
$this->sut = new PaymentExecutionPaymentMethodManager($this->payment, $this->account, $this->paymentMethodManager);
}