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