/** * @return void */ public function testGetRemoteIp() { $this->securityConfig->expects($this->once())->method('getRemoteIp')->with(false); $this->block->getRemoteIp(); }
/** * @return void */ public function testGetRemoteIp() { $this->remoteAddressMock->expects($this->once())->method('getRemoteAddress')->with(false); $this->block->getRemoteIp(); }