public function WorkflowGroupTest::testGetEntityTypeId in State Machine 8
@covers ::getEntityTypeId
File
- tests/
src/ Unit/ Plugin/ WorkflowGroup/ WorkflowGroupTest.php, line 61
Class
- WorkflowGroupTest
- @coversDefaultClass \Drupal\state_machine\Plugin\WorkflowGroup\WorkflowGroup @group state_machine
Namespace
Drupal\Tests\state_machine\Unit\Plugin\WorkflowGroupCode
public function testGetEntityTypeId() {
$this
->assertEquals($this->definition['entity_type'], $this->workflowGroup
->getEntityTypeId(), 'Workflow group entity type id matches the expected one');
}