You are here

public function ExcludeSpecifiedItemsProcessorTest::testGetDefaultWeight in Facets 8

Tests getDefaultWeight().

File

tests/src/Unit/Plugin/processor/ExcludeSpecifiedItemsProcessorTest.php, line 411

Class

ExcludeSpecifiedItemsProcessorTest
Unit test for processor.

Namespace

Drupal\Tests\facets\Unit\Plugin\processor

Code

public function testGetDefaultWeight() {
  $this
    ->assertEquals(50, $this->processor
    ->getDefaultWeight('build'));
  $this
    ->assertEquals(0, $this->processor
    ->getDefaultWeight('sort'));
}