Horde_Http_TestBase::testThrowsOnInvalidProxyType PHP Méthode

testThrowsOnInvalidProxyType() public méthode

    public function testThrowsOnInvalidProxyType()
    {
        $client = new Horde_Http_Client(array('request' => new self::$_requestClass(array('proxyServer' => 'localhost', 'proxyType' => Horde_Http::PROXY_SOCKS4))));
        $client->get('http://www.example.com/');
    }