You are here

public function RequestContextTest::testMethod in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Tests/RequestContextTest.php \Symfony\Component\Routing\Tests\RequestContextTest::testMethod()

File

vendor/symfony/routing/Tests/RequestContextTest.php, line 102

Class

RequestContextTest

Namespace

Symfony\Component\Routing\Tests

Code

public function testMethod() {
  $requestContext = new RequestContext();
  $requestContext
    ->setMethod('post');
  $this
    ->assertSame('POST', $requestContext
    ->getMethod());
}