public function resolvesAppendsRemainingRouteValuesToResolvedUriPathIfAppendExceedingArgumentsIsTrue() { $this->route->setUriPattern('foo'); $this->route->setAppendExceedingArguments(true); $this->route->_set('isParsed', true); $routeValues = ['foo' => 'bar', 'baz' => ['foo2' => 'bar2']]; $this->route->resolves($routeValues); $actualResult = $this->route->getResolvedUriPath(); $expectedResult = '?foo=bar&baz%5Bfoo2%5D=bar2'; $this->assertEquals($expectedResult, $actualResult); }