public function testUrlGeneratorRelativeWithParameters() { $url = call_user_func_array($this->hateoasConfig->urlGenerator, ['/foo', ['a' => 1, 'b' => 2], false]); $this->assertEquals('/foo?a=1&b=2', $url); }