You are here

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

Tests \Drupal\ckeditor_media_embed\AssetManager::getPlugins(<version>).

File

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

Class

AssetManagerTest
Tests the asset manager.

Namespace

Drupal\Tests\ckeditor_media_embed\Unit

Code

public function testGetPluginsAbove411() {
  $plugins = AssetManager::getPlugins('4.11');
  $this
    ->assertCount(8, $plugins, 'There should be 8 plugins.');
}