function ContentLanguageSettingsUnitTest::testIsDefaultConfiguration

Same name in other branches
  1. 9 core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testIsDefaultConfiguration()
  2. 8.9.x core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testIsDefaultConfiguration()
  3. 10 core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testIsDefaultConfiguration()

@covers ::isDefaultConfiguration

@dataProvider providerIsDefaultConfiguration

File

core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php, line 213

Class

ContentLanguageSettingsUnitTest
@coversDefaultClass \Drupal\language\Entity\ContentLanguageSettings @group language

Namespace

Drupal\Tests\language\Unit

Code

public function testIsDefaultConfiguration(ContentLanguageSettings $config, $expected) : void {
    $this->assertSame($expected, $config->isDefaultConfiguration());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.