/**
  * @covers Guzzle\Service\Command\AbstractCommand::__call
  * @expectedException Guzzle\Common\Exception\BadMethodCallException
  * @expectedExceptionMessage Missing method setFoo
  */
 public function testMissingMethodCallsThrowExceptionsWhenParameterIsInvalid()
 {
     $command = new MockCommand(array('command.magic_method_call' => true), $this->getApiCommand());
     $command->setFoo('bar_baz');
 }