public function testSetPath() { $url = new Url('http://jwage.com'); $url->path = 'about'; $this->assertInstanceOf('Purl\\Path', $url->path); $this->assertEquals('about', (string) $url->path); }