You are here

protected function LinkPluginDefinitionDecoratorTest::setUp in Plugin 8.2

Overrides UnitTestCase::setUp

File

tests/src/Unit/PluginDefinition/LinkPluginDefinitionDecoratorTest.php, line 32

Class

LinkPluginDefinitionDecoratorTest
@coversDefaultClass \Drupal\plugin\PluginDefinition\LinkPluginDefinitionDecorator

Namespace

Drupal\Tests\plugin\Unit\PluginDefinition

Code

protected function setUp() : void {
  parent::setUp();
  $this->arrayDefinition = [
    'title' => $this
      ->randomMachineName(),
  ];
  $this->sut = new LinkPluginDefinitionDecorator($this->arrayDefinition);
}