/** * Test the __toString method. * * @return void * * @since 11.1 * @covers JUri::__toString */ public function test__toString() { $this->object->parse('http://*****:*****@www.example.com:80/path/file.html?var=value#fragment'); $this->assertThat($this->object->__toString(), $this->equalTo('http://*****:*****@www.example.com:80/path/file.html?var=value#fragment')); }