You are here

public function NodeTest::testGetTip in Freelinking 8.3

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

Assert the getTip method returns correct value.

File

tests/src/Unit/Plugin/freelinking/NodeTest.php, line 97

Class

NodeTest
Tests the nid plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

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