You are here

public function ParagraphsTypeHasEnabledBehaviorPluginTest::testInvalidPluginId in Paragraphs 8

Test that invalid plugin id's return false.

File

tests/src/Kernel/ParagraphsTypeHasEnabledBehaviorPluginTest.php, line 71

Class

ParagraphsTypeHasEnabledBehaviorPluginTest
Tests the ParagraphsType entity hasEnabledBehaviorPlugin functionality.

Namespace

Drupal\Tests\paragraphs\Kernel

Code

public function testInvalidPluginId() {
  $this
    ->assertFalse($this->paragraphsType
    ->hasEnabledBehaviorPlugin('i_do_not_exist'));
}