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\KernelCode
public function testInvalidEntityOnGetPlugin() {
$this
->expectException('\\Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException');
$this->factory
->getSourceEntityPlugin('gastropod');
}