com.mockobjects.io
public class MockOutputStream extends OutputStream implements Verifiable
Constructor Summary | |
---|---|
MockOutputStream() |
Method Summary | |
---|---|
void | clearActualBuffer() |
void | close() |
void | flush() |
String | getContents() |
byte[] | getContentsAsByteArray()
Added in response to Bug report 546661. |
void | setExpectedCloseCalls(int closeCall) |
void | setExpectedFlushCalls(int flushCall) |
void | setExpectingWriteCalls(boolean expectingWriteCall) |
void | setupThrowIOException(boolean throwException) |
void | verify() |
void | write(int b) |