You are here

protected function HooksTest::setUp in Lightning Core 8.4

Same name and namespace in other branches
  1. 8.3 modules/acquia_telemetry/tests/src/Kernel/HooksTest.php \Drupal\Tests\acquia_telemetry\Kernel\HooksTest::setUp()

Overrides KernelTestBase::setUp

File

modules/acquia_telemetry/tests/src/Kernel/HooksTest.php, line 30

Class

HooksTest
@group lightning @group lightning_core @group acquia_telemetry

Namespace

Drupal\Tests\acquia_telemetry\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->telemetry = $this
    ->prophesize(Telemetry::class);
  $this->container
    ->set('acquia.telemetry', $this->telemetry
    ->reveal());
}