public function testUserInfoCanShowPassword()
 {
     $url = 'http://example.com/path';
     $uri = new URI($url);
     $expected = 'http://user@example.com/path';
     $uri->setUserInfo('user', 'password');
     $this->assertEquals('user', $uri->getUserInfo());
     $this->assertEquals($expected, (string) $uri);
     $uri->showPassword();
     $expected = 'http://*****:*****@example.com/path';
     $this->assertEquals('user:password', $uri->getUserInfo());
     $this->assertEquals($expected, (string) $uri);
 }