You are here

public function PluginTypeTest::testCreateFromDefinition in Plugin 8.2

@covers ::createFromDefinition @covers ::__construct

File

tests/src/Unit/PluginType/PluginTypeTest.php, line 87

Class

PluginTypeTest
@coversDefaultClass \Drupal\plugin\PluginType\PluginType

Namespace

Drupal\Tests\plugin\Unit\PluginType

Code

public function testCreateFromDefinition() {
  $this->sut = PluginType::createFromDefinition($this->container, $this->pluginTypeDefinition);
}