protected $matcher;
/**
* {@inheritdoc}
*/
protected function setUp(): void
{ parent::
setUp();
$this->fixtures =
new RoutingFixtures();
$this->matcher =
new AcceptHeaderMatcher();
} /**
* Provides data for the Accept header filtering test.
*
* @see Drupal\Tests\Core\Routing\AcceptHeaderMatcherTest::testAcceptFiltering()
*/
public function acceptFilterProvider() { return [ // Check that JSON routes get filtered and prioritized correctly.
['application/json, text/xml;q=0.9', 'json', 'route_c', 'route_e'
],