You are here

public function GetTest::testPluginSyntax in Drupal 9

Same name and namespace in other branches
  1. 8 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));
}