getCommand(); $command->setArguments($arguments); $this->assertSame($expected, $command->getArguments()); } /** * @group disconnected */ public function testParseResponse(): void { $raw = 'message'; $expected = 'message'; $command = $this->getCommand(); $this->assertSame($expected, $command->parseResponse($raw)); } /** * @group connected */ public function testAlwaysReturnsThePassedMessage(): void { $redis = $this->getClient(); $message = 'Can you hear me?'; $this->assertSame($message, $redis->echo($message)); } }