You are here

protected function DevelContainerInfoTest::assertContainerInfoLocalTasks in Devel 8

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/DevelContainerInfoTest.php \Drupal\Tests\devel\Functional\DevelContainerInfoTest::assertContainerInfoLocalTasks()
  2. 8.2 tests/src/Functional/DevelContainerInfoTest.php \Drupal\Tests\devel\Functional\DevelContainerInfoTest::assertContainerInfoLocalTasks()
  3. 4.x tests/src/Functional/DevelContainerInfoTest.php \Drupal\Tests\devel\Functional\DevelContainerInfoTest::assertContainerInfoLocalTasks()

Asserts that container info local tasks are present.

2 calls to DevelContainerInfoTest::assertContainerInfoLocalTasks()
DevelContainerInfoTest::testParameterList in tests/src/Functional/DevelContainerInfoTest.php
Tests parameter list page.
DevelContainerInfoTest::testServiceList in tests/src/Functional/DevelContainerInfoTest.php
Tests service list page.

File

tests/src/Functional/DevelContainerInfoTest.php, line 252

Class

DevelContainerInfoTest
Tests container info pages and links.

Namespace

Drupal\Tests\devel\Functional

Code

protected function assertContainerInfoLocalTasks() {
  $expected_local_tasks = [
    [
      'devel.container_info.service',
      [],
    ],
    [
      'devel.container_info.parameter',
      [],
    ],
  ];
  $this
    ->assertLocalTasks($expected_local_tasks);
}