public function testProxies() { $ip = "127.0.0.1"; $this->wrapper->addProxy($ip); $this->assertTrue(is_array($this->wrapper->getProxies()), "->getProxies()"); $this->assertTrue(is_array($this->wrapper->proxies), "->proxies"); $proxy = $this->wrapper->proxies[0]; $this->assertEquals($ip, $proxy->ip, "->proxies[0] + ->addProxy"); }