public function testArrayAccess() { $url = new Url('http://jwage.com'); $url['path'] = 'about'; $this->assertEquals('http://jwage.com/about', (string) $url); }