You are here

public function ImceTest::testGetConfig in IMCE 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Plugin/CKEditorPlugin/ImceTest.php \Drupal\Tests\imce\Kernel\Plugin\CKEditorPlugin\ImceTest::testGetConfig()

Test getConfig().

File

tests/src/Kernel/Plugin/CKEditorPlugin/ImceTest.php, line 96

Class

ImceTest
Kernel tests for Imce plugins for CKEditor.

Namespace

Drupal\Tests\imce\Kernel\Plugin\CKEditorPlugin

Code

public function testGetConfig() {
  $config = $this->imce
    ->getConfig($this
    ->createMock(Editor::class));
  $this
    ->assertIsArray($config);
  $this
    ->assertCount(2, $config);
}