function ControllerResolverTest::testRawParameterValueResolver

@group legacy @expectedDeprecation Drupal\Core\Controller\ArgumentResolver\RawParameterValueResolver is deprecated in Drupal 8.8.1 and will be removed before Drupal 9.0.0. This class exists to prevent problems with updating core using Drush 8. There is no replacement.

File

core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php, line 269

Class

ControllerResolverTest
@coversDefaultClass \Drupal\Core\Controller\ControllerResolver @group Controller

Namespace

Drupal\Tests\Core\Controller

Code

public function testRawParameterValueResolver() {
    $resolver = new RawParameterValueResolver();
    $metadata = $this->prophesize(ArgumentMetadata::class);
    $this->assertFalse($resolver->supports(Request::create('/test'), $metadata->reveal()));
}

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