public function testType() { $abs = new Path('/name'); $rel = new Path('name'); $this->assertTrue($abs->isAbsolute()); $this->assertTrue($rel->isRelative()); }