public function NodeTest::testGetTip in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 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\freelinkingCode
public function testGetTip() {
$this
->assertEquals('Click to view a local node.', $this->plugin
->getTip()
->render());
}