You are here

public function SectionTest::testGetThirdPartySettings in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/tests/src/Unit/SectionTest.php \Drupal\Tests\layout_builder\Unit\SectionTest::testGetThirdPartySettings()
  2. 10 core/modules/layout_builder/tests/src/Unit/SectionTest.php \Drupal\Tests\layout_builder\Unit\SectionTest::testGetThirdPartySettings()

@covers ::getThirdPartySettings @dataProvider providerTestGetThirdPartySettings

File

core/modules/layout_builder/tests/src/Unit/SectionTest.php, line 198

Class

SectionTest
@coversDefaultClass \Drupal\layout_builder\Section @group layout_builder

Namespace

Drupal\Tests\layout_builder\Unit

Code

public function testGetThirdPartySettings($provider, $expected) {
  $this
    ->assertSame($expected, $this->section
    ->getThirdPartySettings($provider));
}