add available()
This closes
@@ -618,6 +618,11 @@ public class MockProcessSession implements ProcessSession {
bais.reset();
}
+ @Override
+ public int available() throws IOException {
+ return bais.available();
+ }
+
@Override
public String toString() {
return "ErrorHandlingInputStream[flowFile=" + mock + "]";
