You are here

public function WorkflowGroupTest::testGetWorkflowClass in State Machine 8

@covers ::getWorkflowClass

File

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

Class

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

Namespace

Drupal\Tests\state_machine\Unit\Plugin\WorkflowGroup

Code

public function testGetWorkflowClass() {
  $this
    ->assertEquals($this->definition['workflow_class'], $this->workflowGroup
    ->getWorkflowClass(), 'Workflow group class matches the expected one');
}