arguments = new MRangeArguments(); } /** * @return void */ public function testCreatesArgumentsWithFilterModifier(): void { $this->arguments->filter('exp1', 'exp2'); $this->assertSame(['FILTER', 'exp1', 'exp2'], $this->arguments->toArray()); } /** * @return void */ public function testCreatesArgumentsWithGroupByModifier(): void { $this->arguments->groupBy('label', 'reducer'); $this->assertSame(['GROUPBY', 'label', 'REDUCE', 'reducer'], $this->arguments->toArray()); } }