public function SchemaFactoryTest::testConfigEntityOnGetPlugin in Schemata 8
@covers ::getSourceEntityPlugin
File
- tests/
src/ Kernel/ SchemaFactoryTest.php, line 128
Class
- SchemaFactoryTest
- Tests the Schema Factory service.
Namespace
Drupal\Tests\schemata\KernelCode
public function testConfigEntityOnGetPlugin() {
$this
->expectException('\\InvalidArgumentException');
$this->factory
->getSourceEntityPlugin('node_type');
}