public function testGetServerPort() { $request = new THttpRequest(); $request->init(null); self::assertEquals('80', $request->getServerPort()); }