lithium\tests\integration\net\socket\CurlTest::testSendWithNull PHP Метод

testSendWithNull() публичный Метод

public testSendWithNull ( )
    public function testSendWithNull()
    {
        $stream = new Curl($this->_testConfig);
        $this->assertInternalType('resource', $stream->open());
        $result = $stream->send(new Request($this->_testConfig), array('response' => 'lithium\\net\\http\\Response'));
        $this->assertInstanceOf('lithium\\net\\http\\Response', $result);
        $this->assertPattern("/^HTTP/", (string) $result);
    }