public class MockServletOutputStream
extends ServletOutputStream
Constructor and Description |
---|
MockServletOutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getContents() |
void |
setExpectedCloseCalls(int closeCall) |
void |
setExpectingWriteCalls(boolean expectingWriteCall) |
void |
setThrowIOException(boolean throwException) |
void |
setupClearContents() |
java.lang.String |
toString() |
void |
verify() |
void |
write(int b) |
public void setExpectedCloseCalls(int closeCall)
public void setExpectingWriteCalls(boolean expectingWriteCall)
public void setThrowIOException(boolean throwException)
public void close() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
public void write(int b) throws java.io.IOException
java.io.IOException
public void setupClearContents()
public java.lang.String getContents()
public void verify()
Copyright © 2002 Mock Objects. All Rights Reserved.