Neos\Flow\Tests\Functional\Mvc\ActionControllerTest::argumentsOfPutRequestWithJsonOrXmlTypeAreAlsoPassedToAction PHP Method

argumentsOfPutRequestWithJsonOrXmlTypeAreAlsoPassedToAction() public method

    public function argumentsOfPutRequestWithJsonOrXmlTypeAreAlsoPassedToAction()
    {
        $request = Request::create(new Uri('http://localhost/test/mvc/actioncontrollertesta/put?getArgument=getValue'), 'PUT');
        $request->setHeader('Content-Type', 'application/json');
        $request->setHeader('Content-Length', 29);
        $request->setContent('{"putArgument":"first value"}');
        $response = $this->browser->sendRequest($request);
        $this->assertEquals('putAction-first value-getValue', $response->getContent());
    }