getCommand(); $command->setArguments([]); $this->assertSame([], $command->getArguments()); } /** * @group disconnected */ public function testParseResponse(): void { $this->assertSame(100, $this->getCommand()->parseResponse(100)); } /** * @group connected */ public function testReturnsCurrentSizeOfDatabase(): void { $redis = $this->getClient(); $redis->set('foo', 'bar'); $this->assertGreaterThan(0, $redis->dbsize()); } }