public function FieldDiscoveryTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Unit\FieldDiscoveryTest::setUp()
- 9 core/modules/migrate_drupal/tests/src/Kernel/d6/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FieldDiscoveryTest::setUp()
- 9 core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FieldDiscoveryTest::setUp()
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Unit\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\UnitCode
public function setUp() : void {
parent::setUp();
$this->fieldPluginManager = $this
->prophesize(MigrateFieldPluginManagerInterface::class);
$this->migrationPluginManager = $this
->prophesize(MigrationPluginManagerInterface::class);
$this->logger = $this
->prophesize(LoggerChannelInterface::class);
}