public function ConfigEntityTypeTest::testConstruct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::testConstruct()
@covers ::__construct
File
- core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityTypeTest.php, line 78 - Contains \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest.
Class
- ConfigEntityTypeTest
- @coversDefaultClass \Drupal\Core\Config\Entity\ConfigEntityType @group Config
Namespace
Drupal\Tests\Core\Config\EntityCode
public function testConstruct() {
$config_entity = new ConfigEntityType([
'id' => 'example_config_entity_type',
]);
$this
->assertEquals('Drupal\\Core\\Config\\Entity\\ConfigEntityStorage', $config_entity
->getStorageClass());
}