You are here

public function SearchTest::testGetTip in Freelinking 4.0.x

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

Asserts that the appropriate tip is returned.

File

tests/src/Unit/Plugin/freelinking/SearchTest.php, line 88

Class

SearchTest
Tests the search plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

public function testGetTip() {
  $this
    ->assertEquals('Search this site for content like “%dest”.', $this->plugin
    ->getTip());
}