You are here

protected function PluginSelectorBaseTest::setUp in Plugin 8.2

Overrides PluginSelectorBaseTestBase::setUp

File

tests/src/Unit/Plugin/Plugin/PluginSelector/PluginSelectorBaseTest.php, line 29

Class

PluginSelectorBaseTest
@coversDefaultClass \Drupal\plugin\Plugin\Plugin\PluginSelector\PluginSelectorBase

Namespace

Drupal\Tests\plugin\Unit\Plugin\Plugin\PluginSelector

Code

protected function setUp() : void {
  parent::setUp();
  $configuration = [];
  $this->sut = $this
    ->getMockBuilder(PluginSelectorBase::class)
    ->setConstructorArgs([
    $configuration,
    $this->pluginId,
    $this->pluginDefinition,
    $this->defaultPluginResolver,
  ])
    ->getMockForAbstractClass();
}