public function it_can_zscore() { $this->client->zscore('test', 'test')->shouldBeCalled()->willReturn(1); $this->zScore('test', 'test')->shouldReturn(1); $this->client->zscore('test', 'test')->willThrow($this->predisException); $this->shouldThrow(DriverException::class)->during('zScore', ['test', 'test']); }