public function ContextualLinkDefaultTest::testGetGroup in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php \Drupal\Tests\Core\Menu\ContextualLinkDefaultTest::testGetGroup()
@covers ::getGroup
File
- core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkDefaultTest.php, line 127 - Contains \Drupal\Tests\Core\Menu\ContextualLinkDefaultTest.
Class
- ContextualLinkDefaultTest
- @group Menu @coversDefaultClass \Drupal\Core\Menu\ContextualLinkDefault
Namespace
Drupal\Tests\Core\MenuCode
public function testGetGroup($group_name = 'test_group') {
$this->pluginDefinition['group'] = $group_name;
$this
->setupContextualLinkDefault();
$this
->assertEquals($group_name, $this->contextualLinkDefault
->getGroup());
}