public function RequestTest::testGetMethod in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Tests/RequestTest.php \Symfony\Component\BrowserKit\Tests\RequestTest::testGetMethod()
File
- vendor/
symfony/ browser-kit/ Tests/ RequestTest.php, line 24
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testGetMethod() {
$request = new Request('http://www.example.com/', 'get');
$this
->assertEquals('get', $request
->getMethod(), '->getMethod() returns the method of the request');
}