public function FileCopyTest::testFileProcessBaseConstructor in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/process/FileCopyTest.php \Drupal\Tests\migrate\Unit\process\FileCopyTest::testFileProcessBaseConstructor()
- 10 core/modules/migrate/tests/src/Unit/process/FileCopyTest.php \Drupal\Tests\migrate\Unit\process\FileCopyTest::testFileProcessBaseConstructor()
Tests that the plugin constructor correctly sets the configuration.
@dataProvider providerFileProcessBaseConstructor
Parameters
array $configuration: The plugin configuration.
$expected: The expected value of the plugin configuration.
File
- core/
modules/ migrate/ tests/ src/ Unit/ process/ FileCopyTest.php, line 29
Class
- FileCopyTest
- Tests the file copy process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testFileProcessBaseConstructor($configuration, $expected) {
$this
->assertPlugin($configuration, $expected);
}