You are here

public function ArrayPluginDefinitionDecoratorTest::testCreateFromDecoratedDefinition in Plugin 8.2

@covers ::createFromDecoratedDefinition

File

tests/src/Unit/PluginDefinition/ArrayPluginDefinitionDecoratorTest.php, line 598

Class

ArrayPluginDefinitionDecoratorTest
@coversDefaultClass \Drupal\plugin\PluginDefinition\ArrayPluginDefinitionDecorator

Namespace

Drupal\Tests\plugin\Unit\PluginDefinition

Code

public function testCreateFromDecoratedDefinition() {
  $this
    ->assertInstanceOf(ArrayPluginDefinitionDecorator::class, ArrayPluginDefinitionDecorator::createFromDecoratedDefinition($this->arrayDefinition));
}