public function it_can_hget() { $this->client->hget('test', 'test')->shouldBeCalled()->willReturn('test'); $this->hGet('test', 'test')->shouldReturn('test'); $this->client->hget('test', 'test')->willThrow($this->predisException); $this->shouldThrow(DriverException::class)->during('hGet', ['test', 'test']); }