public function RequestContextTest::testMethod in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Tests/RequestContextTest.php \Symfony\Component\Routing\Tests\RequestContextTest::testMethod()
File
- vendor/
symfony/ routing/ Tests/ RequestContextTest.php, line 102
Class
Namespace
Symfony\Component\Routing\TestsCode
public function testMethod() {
$requestContext = new RequestContext();
$requestContext
->setMethod('post');
$this
->assertSame('POST', $requestContext
->getMethod());
}