Symfony\Component\HttpFoundation\Tests\RequestTest::testGetContentCantBeCalledTwiceWithResources PHP Method

testGetContentCantBeCalledTwiceWithResources() public method

    public function testGetContentCantBeCalledTwiceWithResources($first, $second)
    {
        if (PHP_VERSION_ID >= 50600) {
            $this->markTestSkipped('PHP >= 5.6 allows to open php://input several times.');
        }

        $req = new Request();
        $req->getContent($first);
        $req->getContent($second);
    }
RequestTest