'breakpoint_theme_test' => 'Breakpoint test theme',
'breakpoint_theme_test.group2' => 'breakpoint_theme_test.group2',
];
$breakpoint_groups = \Drupal::
service('breakpoint.manager'
)->
getGroups();
// Ensure the order is as expected. Should be sorted by label.
$this->
assertEquals($expected,
$breakpoint_groups);
$expected =
[ 'breakpoint_theme_test' => 'theme',
'breakpoint_module_test' => 'module',
];
$breakpoint_group_providers = \Drupal::
service('breakpoint.manager'
)->
getGroupProviders('breakpoint_theme_test.group2'
);
$this->
assertEquals($expected,
$breakpoint_group_providers);
}}