You are here

protected function KernelTestBaseShutdownTest::assertPostConditions in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php \Drupal\KernelTests\KernelTestBaseShutdownTest::assertPostConditions()
  2. 9 core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php \Drupal\KernelTests\KernelTestBaseShutdownTest::assertPostConditions()

Overrides KernelTestBase::assertPostConditions

File

core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php, line 70

Class

KernelTestBaseShutdownTest
@coversDefaultClass \Drupal\KernelTests\KernelTestBase

Namespace

Drupal\KernelTests

Code

protected function assertPostConditions() : void {
  parent::assertPostConditions();
  $this
    ->assertSame($this->expectedShutdownCalled, self::$shutdownCalled);
}