Source

						public function testSendWithArray() {
		$stream = new Curl($this->_testConfig);
		$this->assertTrue(is_resource($stream->open()));
		$result = $stream->send($this->_testConfig,
			array('response' => 'lithium\net\http\Response')
		);
		$this->assertTrue($result instanceof \lithium\net\http\Response);
		$this->assertPattern("/^HTTP/", (string) $result);
	}