You are here

public function PaymentAwarePluginFilteredPluginManagerTest::setUp in Payment 8.2

Overrides UnitTestCase::setUp

File

tests/src/Unit/Plugin/Payment/PaymentAwarePluginFilteredPluginManagerTest.php, line 40

Class

PaymentAwarePluginFilteredPluginManagerTest
@coversDefaultClass \Drupal\payment\Plugin\Payment\PaymentAwarePluginManagerDecorator

Namespace

Drupal\Tests\payment\Unit\Plugin\Payment

Code

public function setUp() : void {
  $this->payment = $this
    ->createMock(PaymentInterface::class);
  $this->pluginManager = $this
    ->createMock(PluginManagerInterface::class);
  $this->sut = new PaymentAwarePluginManagerDecorator($this->payment, $this->pluginManager);
}