Phprest\Service\Hateoas\HateoasTest::testUrlGeneratorRelativeWithParameters PHP Method

testUrlGeneratorRelativeWithParameters() public method

    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);
    }