function ContextAwarePluginTraitTest::testGetContextDefinitions

Tests get context definitions.

@legacy-covers ::getContextDefinitions

File

core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php, line 65

Class

ContextAwarePluginTraitTest
Tests Drupal\Core\Plugin\ContextAwarePluginTrait.

Namespace

Drupal\KernelTests\Core\Plugin\Context

Code

public function testGetContextDefinitions() : void {
  $this->assertIsArray($this->plugin
    ->getContextDefinitions());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.