public function CSVTest::testCreate in Migrate Source CSV 8.2
Tests the construction of CSV.
@covers ::__construct
File
- tests/
src/ Kernel/ Plugin/ migrate/ source/ CSVTest.php, line 55
Class
- CSVTest
- @coversDefaultClass \Drupal\migrate_source_csv\Plugin\migrate\source\CSV
Namespace
Drupal\Tests\migrate_source_csv\Unit\Plugin\migrate\sourceCode
public function testCreate() {
/** @var \Drupal\migrate\Plugin\MigratePluginManagerInterface $migrationSourceManager */
$migrationSourceManager = $this->container
->get('plugin.manager.migrate.source');
$this
->assertTrue($migrationSourceManager
->hasDefinition('csv'));
}