You are here

public function ConfigMergerTest::testMergeConfigItemStates in Config Merge 8

@covers ::mergeConfigItemStates @dataProvider statesProvider

File

tests/src/Unit/ConfigMergerTest.php, line 288

Class

ConfigMergerTest
@coversDefaultClass \Drupal\config_merge\ConfigMerger @group config_merge

Namespace

Drupal\Tests\config_merge\Unit

Code

public function testMergeConfigItemStates($previous, $current, $active, $expected) {
  $result = $this->configMerger
    ->mergeConfigItemStates($previous, $current, $active);
  $this
    ->assertSame($expected, $result);
}