function LegacyMatcherDumperTest::setUp

Same name in other branches
  1. 10 core/tests/Drupal/KernelTests/Core/Routing/LegacyMatcherDumperTest.php \Drupal\KernelTests\Core\Routing\LegacyMatcherDumperTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Routing/LegacyMatcherDumperTest.php, line 37

Class

LegacyMatcherDumperTest
Tests deprecations in MatcherDumper.

Namespace

Drupal\KernelTests\Core\Routing

Code

protected function setUp() : void {
    parent::setUp();
    $this->connection = $this->createMock(Connection::class);
    $this->state = $this->createMock(State::class);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.