You are here

public function TaxonomyTermArgumentTest::testReturnsNullIfArgumentNotSet in Search API 8

Tests that null is returned if no argument has been set for any reason.

@covers ::title

File

tests/src/Unit/Views/TaxonomyTermArgumentTest.php, line 34

Class

TaxonomyTermArgumentTest
Tests whether the SearchApiTerm argument plugin works correctly.

Namespace

Drupal\Tests\search_api\Unit\Views

Code

public function testReturnsNullIfArgumentNotSet() {
  $plugin = $this
    ->getSubjectUnderTest();
  $this
    ->assertNull($plugin
    ->title());
}