You are here

public function NodeTitleTest::testGetTip in Freelinking 8.3

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

Assert that getTip returns TranslatableMarkup.

File

tests/src/Unit/Plugin/freelinking/NodeTitleTest.php, line 76

Class

NodeTitleTest
Tests the nodetitle plugin behavior.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

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