spec\MGDigital\BusQue\Redis\PHPRedis\PHPRedisAdapterSpec::it_can_llen PHP Метод

it_can_llen() публичный Метод

public it_can_llen ( )
    public function it_can_llen()
    {
        $this->redis->lLen('test')->shouldBeCalled()->willReturn(1);
        $this->lLen('test')->shouldReturn(1);
        $this->redis->lLen('test')->willThrow(new \RedisException());
        $this->shouldThrow(DriverException::class)->during('lLen', ['test']);
    }