/** * Test the isSSL method. * * @return void * * @since 1.0 * @covers Windwalker\Uri\Uri::isSSL */ public function testIsSSL() { $object = new Uri('https://*****:*****@www.example.com:80/path/file.html?var=value#fragment'); $this->assertThat($object->isSSL(), $this->equalTo(true)); $object = new Uri('http://*****:*****@www.example.com:80/path/file.html?var=value#fragment'); $this->assertThat($object->isSSL(), $this->equalTo(false)); }