public function PluginTypeTest::testGetPluginConfigurationSchemaIdWithDefaultId in Plugin 8.2
@covers ::getPluginConfigurationSchemaId
File
- tests/
src/ Unit/ PluginType/ PluginTypeTest.php, line 136
Class
- PluginTypeTest
- @coversDefaultClass \Drupal\plugin\PluginType\PluginType
Namespace
Drupal\Tests\plugin\Unit\PluginTypeCode
public function testGetPluginConfigurationSchemaIdWithDefaultId() {
$plugin_id = 'FooBarQux';
$expected_schema_id = sprintf('plugin.plugin_configuration.%s.%s', $this->pluginTypeDefinition['id'], $plugin_id);
$this
->assertSame($expected_schema_id, $this->sut
->getPluginConfigurationSchemaId($plugin_id));
}