You are here

public function UrlProcessorHandlerTest::testIsHidden in Facets 8

Tests isHidden().

File

tests/src/Unit/Plugin/processor/UrlProcessorHandlerTest.php, line 78

Class

UrlProcessorHandlerTest
Unit test for processor.

Namespace

Drupal\Tests\facets\Unit\Plugin\processor

Code

public function testIsHidden() {
  $facet = new Facet([], 'facets_facet');
  $this
    ->createContainer();
  $processor = new UrlProcessorHandler([
    'facet' => $facet,
  ], 'url_processor_handler', []);
  $this
    ->assertEquals(FALSE, $processor
    ->isHidden());
}