ProophTest\ServiceBus\Mock\ErrorProducer::throwException PHP Метод

throwException() публичный Метод

public throwException ( $message )
    public function throwException($message)
    {
        throw new \Exception("I can only throw exceptions");
    }
ErrorProducer