function ContextAwarePluginBaseTest::testGetContextDefinitions

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php \Drupal\KernelTests\Core\Plugin\Context\ContextAwarePluginBaseTest::testGetContextDefinitions()

@covers ::getContextDefinitions

File

core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php, line 53

Class

ContextAwarePluginBaseTest
@coversDefaultClass \Drupal\Core\Plugin\ContextAwarePluginBase

Namespace

Drupal\KernelTests\Core\Plugin\Context

Code

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

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