You are here

public function EntityContentBaseTest::setUp in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/migrate_drupal/src/Tests/d6/EntityContentBaseTest.php \Drupal\migrate_drupal\Tests\d6\EntityContentBaseTest::setUp()
  2. 8 core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityContentBaseTest::setUp()
Same name and namespace in other branches
  1. 8.0 core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityContentBaseTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php, line 46
Contains \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityContentBaseTest

Class

EntityContentBaseTest
Tests base entity migration destination functionality.

Namespace

Drupal\Tests\migrate\Unit\Plugin\migrate\destination

Code

public function setUp() {
  parent::setUp();
  $this->migration = $this
    ->prophesize(MigrationInterface::class);
  $this->storage = $this
    ->prophesize(EntityStorageInterface::class);
  $this->entityManager = $this
    ->prophesize(EntityManagerInterface::class);
}