You are here

public function WebformScheduledResultSetManagerTest::testGetDefinitions in Webform Scheduled Tasks 8.2

Same name in this branch
  1. 8.2 tests/src/Kernel/WebformScheduledTaskManagerTest.php \Drupal\Tests\webform_scheduled_tasks\Kernel\WebformScheduledResultSetManagerTest::testGetDefinitions()
  2. 8.2 tests/src/Kernel/WebformScheduledResultSetManagerTest.php \Drupal\Tests\webform_scheduled_tasks\Kernel\WebformScheduledResultSetManagerTest::testGetDefinitions()

@covers ::getDefinitions

File

tests/src/Kernel/WebformScheduledResultSetManagerTest.php, line 28

Class

WebformScheduledResultSetManagerTest
Result set manager test.

Namespace

Drupal\Tests\webform_scheduled_tasks\Kernel

Code

public function testGetDefinitions() {
  $definitions = $this->container
    ->get('plugin.manager.webform_scheduled_tasks.result_set')
    ->getDefinitions();
  $this
    ->assertArrayHasKey('all_submissions', $definitions);
}