public function testHttpRequestGetServerAddress()
{
$this->specify("server address does not contain correct IP", function () {
$request = $this->getRequestObject();
$this->setServerVar('SERVER_ADDR', '192.168.4.1');
$actual = $request->getServerAddress();
$this->unsetServerVar('SERVER_ADDR');
expect($actual)->equals('192.168.4.1');
});
}