You are here

protected function ArrayWidgetTest::setUp in Facets 8

Sets up the container and other variables used in all the tests.

Overrides WidgetTestBase::setUp

File

tests/src/Unit/Plugin/widget/ArrayWidgetTest.php, line 18

Class

ArrayWidgetTest
Unit test for widget.

Namespace

Drupal\Tests\facets\Unit\Plugin\widget

Code

protected function setUp() {
  parent::setUp();
  $this->widget = new ArrayWidget([
    'show_numbers' => 1,
  ], 'array_widget', []);
}