public function testPassword() { $url = new CUrl("http://*****:*****@www.example.com/"); $this->assertTrue($url->password()->equals("password")); $url = new CUrl("http://*****:*****@www.example.com/"); $this->assertTrue($url->password()->equals("PASSWORD")); }