public function testAppendNullQuery() { $h = new Uri("http://www.example.com/request"); $h->appendQuery("bar=foo&do=true"); $this->assertEquals("http://www.example.com/request?bar=foo&do=true", $h->getUri()); }