You are here

public function WidgetTestBase::testIsPropertyRequired in Facets 8

Tests default for required properties.

1 method overrides WidgetTestBase::testIsPropertyRequired()
SliderWidgetTest::testIsPropertyRequired in modules/facets_range_widget/tests/src/Unit/Plugin/widget/SliderWidgetTest.php
Tests default for required properties.

File

tests/src/Unit/Plugin/widget/WidgetTestBase.php, line 107

Class

WidgetTestBase
Base class for widget unit tests.

Namespace

Drupal\Tests\facets\Unit\Plugin\widget

Code

public function testIsPropertyRequired() {
  $this
    ->assertFalse($this->widget
    ->isPropertyRequired('llama', 'owl'));
}