Esempio n. 1
0
 public function testIsSSL()
 {
     $this->object->parse('https://*****:*****@www.example.com:80/path/file.html?var=value#fragment');
     $this->assertThat($this->object->isSSL(), $this->equalTo(true));
     $this->object->parse('http://*****:*****@www.example.com:80/path/file.html?var=value#fragment');
     $this->assertThat($this->object->isSSL(), $this->equalTo(false));
 }