You are here

protected function CheckboxWidgetTest::setUp in Facets 8

Creates a new processor object for use in the tests.

Overrides WidgetTestBase::setUp

File

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

Class

CheckboxWidgetTest
Unit test for widget.

Namespace

Drupal\Tests\facets\Unit\Plugin\widget

Code

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