getCommand(); $command->setArguments($arguments); $this->assertSame($expected, $command->getArguments()); } /** * @group connected * @requires PHP >= 8.1 * @requiresRedisVersion >= 8.3.224 */ public function testReturnsDigestOfGivenValue(): void { $redis = $this->getClient(); $this->assertEquals('OK', $redis->set('foo', 'bar')); $this->assertEquals(CommandUtility::xxh3Hash('bar'), $redis->digest('foo')); } }