You are here

protected function VariantRouteFilterTest::tearDown in Page Manager 8

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/VariantRouteFilterTest.php \Drupal\Tests\page_manager\Unit\VariantRouteFilterTest::tearDown()

File

tests/src/Unit/VariantRouteFilterTest.php, line 82
Contains \Drupal\Tests\page_manager\Unit\VariantRouteFilterTest.

Class

VariantRouteFilterTest
@coversDefaultClass \Drupal\page_manager\Routing\VariantRouteFilter @group PageManager

Namespace

Drupal\Tests\page_manager\Unit

Code

protected function tearDown() {

  // The request stack begins empty, ensure it is empty after filtering.
  $this
    ->assertNull($this->requestStack
    ->getCurrentRequest());
  parent::tearDown();
}