You are here

public function WorkflowGroupTest::testGetLabel in State Machine 8

@covers ::getLabel

File

tests/src/Unit/Plugin/WorkflowGroup/WorkflowGroupTest.php, line 54

Class

WorkflowGroupTest
@coversDefaultClass \Drupal\state_machine\Plugin\WorkflowGroup\WorkflowGroup @group state_machine

Namespace

Drupal\Tests\state_machine\Unit\Plugin\WorkflowGroup

Code

public function testGetLabel() {
  $this
    ->assertEquals($this->definition['label'], $this->workflowGroup
    ->getLabel(), 'Workflow group label matches the expected one');
}