function BreakpointTest::testGetGroup
Same name in other branches
- 9 core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::testGetGroup()
- 10 core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::testGetGroup()
- 11.x core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::testGetGroup()
@covers ::getGroup
File
-
core/
modules/ breakpoint/ tests/ src/ Unit/ BreakpointTest.php, line 108
Class
- BreakpointTest
- @coversDefaultClass \Drupal\breakpoint\Breakpoint @group Breakpoint
Namespace
Drupal\Tests\breakpoint\UnitCode
public function testGetGroup() {
$this->pluginDefinition['group'] = 'Breakpoint';
$this->setupBreakpoint();
$this->assertEquals('Breakpoint', $this->breakpoint
->getGroup());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.