You are here

public function CountLimitProcessorTest::testConfiguration in Facets 8

Tests configuration.

File

tests/src/Unit/Plugin/processor/CountLimitProcessorTest.php, line 195

Class

CountLimitProcessorTest
Unit test for processor.

Namespace

Drupal\Tests\facets\Unit\Plugin\processor

Code

public function testConfiguration() {
  $config = $this->processor
    ->defaultConfiguration();
  $this
    ->assertEquals([
    'minimum_items' => 1,
    'maximum_items' => 0,
  ], $config);
}