public function PathAliasTest::testGetTip in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x 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 101
Class
- PathAliasTest
- Tests the path_alias plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function testGetTip() {
$plugin = $this
->getPlugin();
$this
->assertEquals('Click to view a local node.', $plugin
->getTip()
->render());
}