],
],
];
} /**
* @covers ::getDynamicPluginConfig
* @dataProvider providerGetDynamicPluginConfig
*/
public function testGetDynamicPluginConfig(array
$configuration, array
$expected_dynamic_config): void
{ $plugin =
new SourceEditing($configuration, 'ckeditor5_sourceEditing', NULL
);
$dynamic_plugin_config =
$plugin->
getDynamicPluginConfig([],
$this->
prophesize(EditorInterface::
class) ->
reveal());
$this->
assertSame($expected_dynamic_config,
$dynamic_plugin_config);
}}