Client\RequestTest::testPUT PHP Method

testPUT() public method

public testPUT ( )
    public function testPUT()
    {
        $request = new Request('PUT', 'http://local.example', [], Psr7\stream_for('foo=bar&hello=world'));
        $curl = $this->curlFormatter->format($request);
        $this->assertContains("-d 'foo=bar&hello=world'", $curl);
        $this->assertContains('-X PUT', $curl);
    }