You are here

public function WikiTest::testGetTip in Freelinking 8.3

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

Asserts that getTip is functional.

File

tests/src/Unit/Plugin/freelinking/WikiTest.php, line 51

Class

WikiTest
Test the freelinking wiki plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

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