/**
* @covers ::getSortedDefinitions
*/
public function testGetSortedDefinitions() { $expected =
[ 'module_a_provided_layout',
'plugin_provided_layout',
'theme_a_provided_layout',
];
$layout_definitions =
$this->layoutPluginManager->
getSortedDefinitions();
$this->
assertEquals($expected,
array_keys($layout_definitions));
$this->
assertContainsOnlyInstancesOf(LayoutDefinition::
class,
$layout_definitions);
} /**
* @covers ::getGroupedDefinitions
*/
public function testGetGroupedDefinitions() { $category_expected =
[ 'Columns: 1' =>
[ 'module_a_provided_layout',