You are here

public function PathAliasTest::testGetTip in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 tests/src/Unit/Plugin/freelinking/PathAliasTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\PathAliasTest::testGetTip()

Asserts that getTip is functional.

File

tests/src/Unit/Plugin/freelinking/PathAliasTest.php, line 104

Class

PathAliasTest
Tests the path_alias plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

public function testGetTip() {
  $plugin = $this
    ->getPlugin();
  $this
    ->assertEquals('Click to view a local node.', $plugin
    ->getTip()
    ->render());
}