Ejemplo n.º 1
0
 /**
  * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostField
  * @covers Guzzle\Http\Message\EntityEnclosingRequest::removePostField
  */
 public function testRemovingPostFieldRebuildsPostFields()
 {
     $request = new EntityEnclosingRequest('POST', 'http://test.com');
     $request->setPostField('test', 'value');
     $request->removePostField('test');
     $this->assertNull($request->getPostField('test'));
 }