You are here

protected function DropdownWidgetTest::setUp in Facets 8

Creates a new processor object for use in the tests.

Overrides WidgetTestBase::setUp

File

tests/src/Unit/Plugin/widget/DropdownWidgetTest.php, line 17

Class

DropdownWidgetTest
Unit test for widget.

Namespace

Drupal\Tests\facets\Unit\Plugin\widget

Code

protected function setUp() {
  parent::setUp();
  $this->widget = new DropdownWidget([
    'show_numbers' => TRUE,
  ], 'dropdown_widget', []);
}