You are here

public function ConfigEntityMapperTest::testGetType in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigEntityMapperTest::testGetType()

Tests ConfigEntityMapper::getType().

File

core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php, line 171

Class

ConfigEntityMapperTest
Tests the functionality provided by the configuration entity mapper.

Namespace

Drupal\Tests\config_translation\Unit

Code

public function testGetType() {
  $result = $this->configEntityMapper
    ->getType();
  $this
    ->assertSame('configurable_language', $result);
}