Esempio n. 1
0
 public function testGetForRelativePathWithOnlySlash()
 {
     $url = new Ergo_Http_Url('http://example.org/test');
     $relative = $url->getUrlForRelativePath('/');
     $this->assertEqual($relative->__toString(), 'http://example.org/test');
 }