/** * @depends test_construct * @covers ::isAbsolute */ public function test_isAbsolute() { $this->URI->__construct('http://www.google.com'); $this->assertTrue($this->URI->isAbsolute(), 'IURI::isAbsolute() should be true'); $this->URI->__construct('isbn:131cds9sdf0asf80'); $this->assertTrue($this->URI->isAbsolute(), 'IURI::isAbsolute() should be true'); $this->URI->__construct('php://'); $this->assertFalse($this->URI->isAbsolute(), 'IURI::isAbsolute() should be false'); }