/** * Returns the request query part. * @return \Brickoo\Component\Http\UriQuery */ public function getQuery() { return $this->uri->getQuery(); }
/** @covers Brickoo\Component\Http\Uri::getQuery */ public function testGetQuery() { $query = $this->getUriQueryStub(); $uri = new Uri("https", $this->getUriAuthorityStub(), "/", $query, ""); $this->assertSame($query, $uri->getQuery()); }