/**
* @coversDefaultClass \Drupal\Core\Layout\LayoutDefault
* @group Layout
*/
class LayoutDefaultTest extends UnitTestCase {
/**
* @covers ::build
* @dataProvider providerTestBuild
*/
public function testBuild($regions, $expected) {
$definition = new LayoutDefinition([
'theme_hook' => 'layout',
'library' => 'core/drupal',
'regions' => [
'left' => [
'label' => 'Left',
],
'right' => [
'label' => 'Right',
],
],
]);