getCommand(); $command->setArguments($actualArguments); $this->assertSameValues($expectedArguments, $command->getArguments()); } /** * @group disconnected */ public function testParseResponse(): void { $this->assertSame(1, $this->getCommand()->parseResponse(1)); } /** * @group connected * @group relay-resp3 * @return void * @requiresRediSearchVersion >= 1.4.0 */ public function testAddTermsIntoGivenDictionary(): void { $redis = $this->getClient(); $actualResponse = $redis->ftdictadd('dict', 'foo', 'bar'); $this->assertSame(2, $actualResponse); } }