3 namespace Drupal\Tests\views\Unit;
5 use Drupal\views\ViewExecutable;
6 use Drupal\Tests\UnitTestCase;
9 * Tests that list of plugin is correct.
13 class PluginTypeListTest extends UnitTestCase {
16 * Tests the plugins list is correct.
18 public function testPluginList() {
41 $diff = array_diff($plugin_list, ViewExecutable::getPluginTypes());
42 $this->assertTrue(empty($diff), 'The plugin list is correct');