public function testIsAbsolute() { $url1 = new Url('http://jwage.com'); $this->assertTrue($url1->isAbsolute()); $url2 = new Url('/about/me'); $this->assertFalse($url2->isAbsolute()); }