public function testGetQueryString() { $value = ['ana' => 'mere', 'test' => 123]; $oUrl = new Url(); $oUrl->setQuery($value); $this->assertEquals('ana=mere&test=123', $oUrl->getRawQueryString()); }
protected function getFullQueryString() { $sQuery = $this->oUrl->getRawQueryString(); if ($sQuery) { return '?' . $sQuery; } else { return ''; } }