You are here

protected function ContentTypeHeaderMatcherTest::setUp in Zircon Profile 8

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

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php, line 38
Contains \Drupal\Tests\Core\Routing\ContentTypeHeaderMatcherTest.

Class

ContentTypeHeaderMatcherTest
Confirm that the content types partial matcher is functioning properly.

Namespace

Drupal\Tests\Core\Routing

Code

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