public function testGetSections() { $expected =
[ new Section('layout_test_plugin',
['setting_1' => 'Default'
],
[ '10000000-0000-1000-a000-000000000000' =>
new SectionComponent('10000000-0000-1000-a000-000000000000', 'content',
['id' => 'foo'
]),
]),
new Section('layout_test_plugin',
['setting_1' => 'bar'
],
[ '20000000-0000-1000-a000-000000000000' =>
new SectionComponent('20000000-0000-1000-a000-000000000000', 'content',
['id' => 'foo'
]),
]),
];
$this->
assertSections($expected);
} /**
* @covers ::getSection
*/
public function testGetSection() { $this->
assertInstanceOf(Section::
class,
$this->sectionList->
getSection(0
));
} /**
* @covers ::getSection
*/