public function testIpAddress() { $ping = new Ping('127.0.0.1'); $latency = $ping->ping('exec'); $this->assertEquals('127.0.0.1', $ping->getIpAddress()); }