You are here

public function FileTest::testGetTip in Freelinking 8.3

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

Assert that getTip is functional.

File

tests/src/Unit/Plugin/freelinking/FileTest.php, line 71

Class

FileTest
Tests the freelinking file plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

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