thrownew\LogicException(sprintf('The machine name element "%s" is defined before the source element "%s", it must be defined after or the source element must specify an id.',$element_parents,$source_parents));
* Tests the order of the machine name field and the source.
*/
publicfunctiontestMachineNameOrderException(){
$this->expectException(\LogicException::class);
$this->expectErrorMessage('The machine name element "test_machine_name" is defined before the source element "test_source", it must be defined after or the source element must specify an id.');