Horde_Http_TestBase::testThrowsOnInvalidProxyType PHP 메소드

testThrowsOnInvalidProxyType() 공개 메소드

    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/');
    }