public function SectionTest::testGetThirdPartyProviders in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/tests/src/Unit/SectionTest.php \Drupal\Tests\layout_builder\Unit\SectionTest::testGetThirdPartyProviders()
@covers ::getThirdPartyProviders
File
- core/
modules/ layout_builder/ tests/ src/ Unit/ SectionTest.php, line 359
Class
- SectionTest
- @coversDefaultClass \Drupal\layout_builder\Section @group layout_builder
Namespace
Drupal\Tests\layout_builder\UnitCode
public function testGetThirdPartyProviders() {
$this
->assertSame([
'bad_judgement',
'hunt_and_peck',
], $this->section
->getThirdPartyProviders());
$this->section
->unsetThirdPartySetting('hunt_and_peck', 'delay');
$this
->assertSame([
'bad_judgement',
], $this->section
->getThirdPartyProviders());
}