public function ExternalTest::testGetTip in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x tests/src/Unit/Plugin/freelinking/ExternalTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\ExternalTest::testGetTip()
Assert that getTip() is functional.
File
- tests/
src/ Unit/ Plugin/ freelinking/ ExternalTest.php, line 62
Class
- ExternalTest
- Tests the external plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function testGetTip() {
$plugin = $this
->getPlugin(FALSE);
$this
->assertEquals('Click to visit an external URL.', $plugin
->getTip()
->render());
}