You are here

public function AttributeTest::testMerge in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Template/AttributeTest.php \Drupal\Tests\Core\Template\AttributeTest::testMerge()

@covers ::merge @dataProvider providerTestMerge

File

core/tests/Drupal/Tests/Core/Template/AttributeTest.php, line 503

Class

AttributeTest
@coversDefaultClass \Drupal\Core\Template\Attribute @group Template

Namespace

Drupal\Tests\Core\Template

Code

public function testMerge($original, $merge, $expected) {
  $this
    ->assertEquals($expected, $original
    ->merge($merge));
}