Extends
lithium\test\UnitSource
public function testDetectSsl() {
$request = new Request(array('env' => array('SCRIPT_URI' => null, 'HTTPS' => 'off')));
$this->assertFalse($request->env('HTTPS'));
$request = new Request(array('env' => array('SCRIPT_URI' => null, 'HTTPS' => 'on')));
$this->assertTrue($request->env('HTTPS'));
$request = new Request(array('env' => array('SCRIPT_URI' => null, 'HTTPS' => null)));
$this->assertFalse($request->env('HTTPS'));
}