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