public function testWriteStreamException() { $source = Stream::create(); $target = Stream::create(); $target->writeStream($source, 3); }