You are here

public function SectionTest::testGetThirdPartySettings in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/tests/src/Unit/SectionTest.php \Drupal\Tests\layout_builder\Unit\SectionTest::testGetThirdPartySettings()
  2. 9 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 204

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));
}