function GetTest::testPluginSyntax

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/process/GetTest.php \Drupal\Tests\migrate\Unit\process\GetTest::testPluginSyntax()
  2. 10 core/modules/migrate/tests/src/Unit/process/GetTest.php \Drupal\Tests\migrate\Unit\process\GetTest::testPluginSyntax()
  3. 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, e.g. "Invalid tag_line detected" by creating a prophecy of the class.

File

core/modules/migrate/tests/src/Unit/process/GetTest.php, line 119

Class

GetTest
Tests the get process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

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.