'sdc_theme_test:my-card', 'sdc_theme_test_enforce_schema:my-card'
],
[ 'sdc_test:my-button',
'sdc_test_replacements:my-button',
],
['invalid:component', NULL
],
['invalid^component', NULL
],
['', NULL
],
];
array_walk($data,
function D
$test_input) { [$requested_id,
$expected_id] =
$test_input;
$negotiated_id =
$this->negotiator->
negotiate( $requested_id,
$this->manager->
getDefinitions(),
);
$this->
assertSame($expected_id,
$negotiated_id);
});
} /**
* Tests rendering components with component replacement.
*/
public function testRenderWithReplacements(): void
{