function LanguageTest::setUp

Same name in this branch
  1. 9 core/modules/ckeditor5/tests/src/Kernel/LanguageTest.php \Drupal\Tests\ckeditor5\Kernel\LanguageTest::setUp()
Same name in other branches
  1. 8.9.x core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php \Drupal\Tests\ckeditor\Unit\Plugin\CKEditorPlugin\LanguageTest::setUp()
  2. 10 core/modules/ckeditor5/tests/src/Kernel/LanguageTest.php \Drupal\Tests\ckeditor5\Kernel\LanguageTest::setUp()
  3. 11.x core/modules/ckeditor5/tests/src/Kernel/LanguageTest.php \Drupal\Tests\ckeditor5\Kernel\LanguageTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php, line 27

Class

LanguageTest
@coversDefaultClass \Drupal\ckeditor\Plugin\CKEditorPlugin\Language

Namespace

Drupal\Tests\ckeditor\Unit\Plugin\CKEditorPlugin

Code

public function setUp() : void {
    $this->plugin = new Language([], $this->randomMachineName(), []);
}

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