function FieldDiscoveryTest::setUp

Overrides UnitTestCase::setUp

File

core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php, line 45

Class

FieldDiscoveryTest
Tests the FieldDiscovery Class.

Namespace

Drupal\Tests\migrate_drupal\Unit

Code

public function setUp() : void {
  parent::setUp();
  $this->fieldPluginManager = $this->prophesize(MigrateFieldPluginManagerInterface::class);
  $this->migrationPluginManager = $this->prophesize(MigrationPluginManagerInterface::class);
  $this->logger = $this->prophesize(LoggerChannelInterface::class);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.