You are here

public function AssetManagerTest::testGetPlugins in CKEditor Media Embed Plugin 8

Tests \Drupal\ckeditor_media_embed\AssetManager::getPlugins().

File

tests/src/Unit/AssetManagerTest.php, line 28

Class

AssetManagerTest
Tests the asset manager.

Namespace

Drupal\Tests\ckeditor_media_embed\Unit

Code

public function testGetPlugins() {
  $plugins = AssetManager::getPlugins();
  $this
    ->assertIsArray($plugins);
  $this
    ->assertCount(7, $plugins, 'There should be 7 plugins.');
}