public function testNormalizedHost() { $url = new CUrl("http://www.example.com/"); $this->assertTrue($url->normalizedHost()->equals("www.example.com")); $url = new CUrl("HTTP://WWW.EXAMPLE.COM/"); $this->assertTrue($url->normalizedHost()->equals("www.example.com")); }