/** * @covers Guzzle\Service\Command\AbstractCommand::__call * @expectedException Guzzle\Common\Exception\BadMethodCallException * @expectedExceptionMessage Magic method calls are disabled for this command. Consider enabling magic method calls by setting the command.magic_method_call parameter to true. */ public function testMissingMethodCallsThrowExceptionsWhenMagicIsDisabled() { $command = new MockCommand(array()); $command->setFooBarBaz('123'); }