public function it_can_sadd() { $this->client->sadd('test', ['test'])->shouldBeCalled(); $this->sAdd('test', ['test']); $this->client->sadd('test', ['test'])->willThrow($this->predisException); $this->shouldThrow(DriverException::class)->during('sAdd', ['test', ['test']]); }