Test that invalid plugin id's return false.
File
- paragraphs/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'));
}