You are here

public function CSVTest::setUp in Migrate Source CSV 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/Plugin/migrate/source/CSVTest.php \Drupal\Tests\migrate_source_csv\Unit\Plugin\migrate\source\CSVTest::setUp()

Overrides CSVUnitTestCase::setUp

File

tests/src/Unit/Plugin/migrate/source/CSVTest.php, line 43
Code for CSVTest.php.

Class

CSVTest
@coversDefaultClass \Drupal\migrate_source_csv\Plugin\migrate\source\CSV

Namespace

Drupal\Tests\migrate_source_csv\Unit\Plugin\migrate\source

Code

public function setUp() {
  parent::setUp();
  $this->pluginId = 'test csv migration';
  $this->pluginDefinition = [];
  $this->plugin = $this
    ->getMock('\\Drupal\\migrate\\Entity\\MigrationInterface');
}