You are here

protected function AcceptHeaderMatcherTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php \Drupal\Tests\Core\Routing\AcceptHeaderMatcherTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php, line 34

Class

AcceptHeaderMatcherTest
Confirm that the mime types partial matcher is functioning properly.

Namespace

Drupal\Tests\Core\Routing

Code

protected function setUp() : void {
  parent::setUp();
  $this->fixtures = new RoutingFixtures();
  $this->matcher = new AcceptHeaderMatcher();
}