$this->
assertValidationErrors([ '' => 'This text editor requires a text format.',
'dependencies.config.0' => "The 'filter.format' config does not exist.",
'dependencies.config.1' => "The 'filter.format.' config does not exist.",
]);
} /**
* Tests validating an editor with an unknown plugin ID.
*/
public function testInvalidPluginId(): void
{ $this->entity->
setEditor('non_existent'
);
$this->
assertValidationErrors(['editor' => "The 'non_existent' plugin does not exist."
]);
}}