You are here

protected function HookFivestarWidgetsTest::setUp in Fivestar 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/HookFivestarWidgetsTest.php, line 33

Class

HookFivestarWidgetsTest
Tests the operation of hook_fivestar_widgets().

Namespace

Drupal\Tests\fivestar\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->widgetManager = $this->container
    ->get('fivestar.widget_manager');
}