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