function testRemoveQueryItem() { $str = 'http://localhost/test.php?foo=bar&bar=foo'; $uri = new lmbUri($str); $uri->removeQueryItem('bar'); $this->assertEqual('foo=bar', $uri->getQueryString()); $this->assertEqual('http://localhost/test.php?foo=bar', $uri->toString()); }