public function testWriteAndRead()
{
$stream = new Context($this->_testConfig);
$this->assertInternalType('resource', $stream->open());
$this->assertInternalType('resource', $stream->resource());
$this->assertEqual(1, $stream->write());
$this->assertPattern("/^HTTP/", (string) $stream->read());
}