spec\MGDigital\BusQue\Redis\PHPRedis\PHPRedisAdapterSpec::it_can_sismember PHP Method

it_can_sismember() public method

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