function GetTest::testPluginSyntax

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/process/GetTest.php \Drupal\Tests\migrate\Unit\process\GetTest::testPluginSyntax()
  2. 8.9.x core/modules/migrate/tests/src/Unit/process/GetTest.php \Drupal\Tests\migrate\Unit\process\GetTest::testPluginSyntax()
  3. 10 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 122

Class

GetTest
Tests the get process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

public function testPluginSyntax() : void {
    $this->assertNotNull($this->prophesize(Get::class));
}

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