spec\MGDigital\BusQue\Redis\Predis\MockingClientInterface::lrange PHP 메소드

lrange() 공개 메소드

public lrange ( $key, $start, $stop )
    public function lrange($key, $start, $stop);

Usage Example

예제 #1
0
 public function it_can_lrange()
 {
     $this->client->lrange('test', 0, 10)->shouldBeCalled()->willReturn(['test']);
     $this->lRange('test', 0, 10)->shouldReturn(['test']);
     $this->client->lrange('test', 0, 10)->willThrow($this->predisException);
     $this->shouldThrow(DriverException::class)->during('lRange', ['test', 0, 10]);
 }