public function setUp() { $this->redis = $this->getMock('\\Redis'); $this->rsqueuePublisherEvent = new RSQueuePublisherEvent($this->payload, $this->payloadSerialized, $this->channelAlias, $this->channelName, $this->redis); }