exchange.getContext().setProperties(properties);
InputStream is = getTestFileStream();
InputStream cache = (InputStream)converter.convertToStreamCache(is, exchange);
assertNotNull(IOConverter.toString(cache));
try {
<BUG>cache.reset();
fail("except the exception here");</BUG>
} catch (Exception exception) {
}
}

exchange.getContext().setProperties(properties);
InputStream is = getTestFileStream();
InputStream cache = (InputStream)converter.convertToStreamCache(is, exchange);
assertNotNull(IOConverter.toString(cache));
try {
cache.reset();
exchange.getUnitOfWork().done(exchange);
fail("except the exception here");
} catch (Exception exception) {
}
}
