예제 #1
0
파일: PingTest.php 프로젝트: hydrawiki/ping
 public function testIpAddress()
 {
     $ping = new Ping('127.0.0.1');
     $latency = $ping->ping('exec');
     $this->assertEquals('127.0.0.1', $ping->getIpAddress());
 }