You are here

public function SchemaFactoryTest::testInvalidEntityOnGetPlugin in Schemata 8

@covers ::getSourceEntityPlugin

File

tests/src/Kernel/SchemaFactoryTest.php, line 112

Class

SchemaFactoryTest
Tests the Schema Factory service.

Namespace

Drupal\Tests\schemata\Kernel

Code

public function testInvalidEntityOnGetPlugin() {
  $this
    ->expectException('\\Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException');
  $this->factory
    ->getSourceEntityPlugin('gastropod');
}