public function testGetIP( $expected, $input, $squid, $xffList, $private, $description ) {
$_SERVER = $input;
$this->setMwGlobals( [
public function testGetIP( $expected, $input, $squid, $xffList, $private, $description ) {
$_SERVER = $input;
$this->setMwGlobals( [
$request = new WebRequest();
$result = $request->getIP();
$this->assertEquals( $expected, $result, $description );
$request = new WebRequest();
$result = $request->getIP();
$this->assertEquals( $expected, $result, $description );