public function testHttpProtocolApache() { $_SERVER['HTTPS'] = 'on'; $gen = new DummyUrlGenerator(); $this->assertEquals('https', $gen->GetHttpProtocol()); }