getCommand(); $command->setArguments([]); $this->assertSame([], $command->getArguments()); } /** * @group disconnected */ public function testParseResponse(): void { $this->assertSame(100, $this->getCommand()->parseResponse(100)); } /** * @group connected */ public function testReturnsIntegerValue(): void { $redis = $this->getClient(); $this->assertIsInt($redis->lastsave()); } /** * @group connected * @requiresRedisVersion >= 6.0.0 */ public function testReturnsIntegerValueResp3(): void { $redis = $this->getClient(); $this->assertIsInt($redis->lastsave()); } }