You are here

public function BreakpointTest::testGetGroup in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::testGetGroup()
  2. 10 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\Unit

Code

public function testGetGroup() {
  $this->pluginDefinition['group'] = 'Breakpoint';
  $this
    ->setupBreakpoint();
  $this
    ->assertEquals('Breakpoint', $this->breakpoint
    ->getGroup());
}