function InputBagTest::testRequestFactory

@coversNothing @todo Remove this when Symfony 4 is no longer supported.

File

core/tests/Drupal/Tests/Core/Http/InputBagTest.php, line 36

Class

InputBagTest
@coversDefaultClass \Drupal\Core\Http\InputBag

Namespace

Drupal\Tests\Core\Http

Code

public function testRequestFactory() {
    $request = Request::create('');
    $this->assertInstanceOf(InputBag::class, $request->query);
}

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