function GetTest::testPluginSyntax
Same name in other branches
- 8.9.x core/modules/migrate/tests/src/Unit/process/GetTest.php \Drupal\Tests\migrate\Unit\process\GetTest::testPluginSyntax()
- 10 core/modules/migrate/tests/src/Unit/process/GetTest.php \Drupal\Tests\migrate\Unit\process\GetTest::testPluginSyntax()
- 11.x core/modules/migrate/tests/src/Unit/process/GetTest.php \Drupal\Tests\migrate\Unit\process\GetTest::testPluginSyntax()
Tests the Get plugin for syntax errors by creating a prophecy of the class.
An example of a syntax error is "Invalid tag_line detected".
File
-
core/
modules/ migrate/ tests/ src/ Unit/ process/ GetTest.php, line 120
Class
- GetTest
- Tests the get process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testPluginSyntax() {
$this->assertNotNull($this->prophesize(Get::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.