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