You are here

public function CommerceAdjustmentsTest::setUp in Commerce Migrate 8.2

Same name and namespace in other branches
  1. 3.1.x tests/src/Kernel/Plugin/migrate/process/CommerceAdjustmentsTest.php \Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate\process\CommerceAdjustmentsTest::setUp()
  2. 3.0.x tests/src/Kernel/Plugin/migrate/process/CommerceAdjustmentsTest.php \Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate\process\CommerceAdjustmentsTest::setUp()

Overrides CommerceKernelTestBase::setUp

File

tests/src/Kernel/Plugin/migrate/process/CommerceAdjustmentsTest.php, line 56

Class

CommerceAdjustmentsTest
Tests the CommerceAdjustment plugin.

Namespace

Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate\process

Code

public function setUp() : void {
  parent::setUp();
  $this->row = new Row([]);
  $configuration = [];
  $this->plugin = new CommerceAdjustments($configuration, 'map', []);
  $this->migrateExecutable = $this
    ->getMockBuilder(MigrateExecutable::class)
    ->disableOriginalConstructor()
    ->getMock();
}