public function setUp() { $this->redis = $this->getMock('\\Redis'); $this->rsqueueProducerEvent = new RSQueueProducerEvent($this->payload, $this->payloadSerialized, $this->queueAlias, $this->queueName, $this->redis); }