You are here

public function PluginDiscoveryDecoratorTest::testConstruct in Plugin 8.2

@covers ::__construct

File

tests/src/Unit/PluginDiscovery/PluginDiscoveryDecoratorTest.php, line 40

Class

PluginDiscoveryDecoratorTest
@coversDefaultClass \Drupal\plugin\PluginDiscovery\PluginDiscoveryDecorator

Namespace

Drupal\Tests\plugin\Unit\PluginDiscovery

Code

public function testConstruct() {
  $this->sut = new PluginDiscoveryDecorator($this->decoratedDiscovery);
  $this
    ->assertInstanceOf(PluginDiscoveryDecorator::class, $this->sut);
}