Exemple #1
0
 /**
  * @covers Guzzle\Service\Description\ApiCommand::removeParam
  */
 public function testCanRemoveParams()
 {
     $c = new ApiCommand(array());
     $c->addParam(new ApiParam(array('name' => 'foo')));
     $this->assertTrue($c->hasParam('foo'));
     $c->removeParam('foo');
     $this->assertFalse($c->hasParam('foo'));
 }