public function testConnectionIsValid()
 {
     // test to ensure that the object from an fsockopen is valid
     $connObj = new RemoteConnect();
     $serverName = 'ebill.com';
     $this->assertTrue($connObj->connectToServer($serverName) !== false);
 }
Esempio n. 2
0
 public function testConnectionIsValid()
 {
     // проверка валидности соединения с сервером
     $connObj = new RemoteConnect();
     $serverName = 'www.google.com';
     $this->assertTrue($connObj->connectToServer($serverName) !== false);
 }