public function ContentLanguageSettingsUnitTest::testIsDefaultConfiguration in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php \Drupal\Tests\language\Unit\ContentLanguageSettingsUnitTest::testIsDefaultConfiguration()
- 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 208
Class
- ContentLanguageSettingsUnitTest
- @coversDefaultClass \Drupal\language\Entity\ContentLanguageSettings @group language
Namespace
Drupal\Tests\language\UnitCode
public function testIsDefaultConfiguration(ContentLanguageSettings $config, $expected) {
$this
->assertSame($expected, $config
->isDefaultConfiguration());
}