public function OrderItemDiscountAdjustmentTest::setUp in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/commerce/tests/src/Unit/Plugin/migrate/process/commerce1/OrderItemDiscountAdjustmentTest.php \Drupal\Tests\commerce_migrate_commerce\Unit\Plugin\migrate\process\commerce1\OrderItemDiscountAdjustmentTest::setUp()
- 3.1.x modules/commerce/tests/src/Unit/Plugin/migrate/process/commerce1/OrderItemDiscountAdjustmentTest.php \Drupal\Tests\commerce_migrate_commerce\Unit\Plugin\migrate\process\commerce1\OrderItemDiscountAdjustmentTest::setUp()
Overrides MigrateProcessTestCase::setUp
File
- modules/
commerce/ tests/ src/ Unit/ Plugin/ migrate/ process/ commerce1/ OrderItemDiscountAdjustmentTest.php, line 55
Class
- OrderItemDiscountAdjustmentTest
- Tests the order item discount adjustment plugin.
Namespace
Drupal\Tests\commerce_migrate_commerce\Unit\Plugin\migrate\process\commerce1Code
public function setUp() {
parent::setUp();
$this->migration = $this
->prophesize(Migration::class);
$this->migrationPluginManager = $this
->prophesize(MigrationPluginManager::class);
$this->entityTypeManager = $this
->prophesize(EntityTypeManagerInterface::class);
$this->rounder = $this
->prophesize(Rounder::class);
}