function FileCopyTest::testFileProcessBaseConstructor

Tests that the plugin constructor correctly sets the configuration.

Attributes

#[DataProvider('providerFileProcessBaseConstructor')]

Parameters

array $configuration: The plugin configuration.

\Drupal\Core\File\FileExists $expected: The expected value of the plugin configuration.

File

core/modules/migrate/tests/src/Unit/process/FileCopyTest.php, line 31

Class

FileCopyTest
Tests the file copy process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

public function testFileProcessBaseConstructor(array $configuration, FileExists $expected) : void {
  $this->assertPlugin($configuration, $expected);
}

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