mark beginning of content at beginning of test payload, now that Recorder tries to auto-detect

This commit is contained in:
Noah Levitt
2014-01-12 12:42:46 -08:00
parent 3a429ffa44
commit 41ffae253e
@@ -137,6 +137,7 @@ public abstract class ContentExtractorTestBase extends ProcessorTestBase {
byte[] b = content.getBytes(charset);
ByteArrayInputStream bais = new ByteArrayInputStream(b);
InputStream is = recorder.inputWrap(bais);
recorder.markContentBegin();
for (int x = is.read(); x >= 0; x = is.read());
is.close();
return recorder;