com.mockobjects.servlet

Class MockServletOutputStream


public class MockServletOutputStream
extends ServletOutputStream

Constructor Summary

MockServletOutputStream()

Method Summary

void
close()
String
getContents()
void
setExpectedCloseCalls(int closeCall)
void
setExpectingWriteCalls(boolean expectingWriteCall)
void
setThrowIOException(boolean throwException)
void
setupClearContents()
String
toString()
void
verify()
void
write(int b)

Constructor Details

MockServletOutputStream

public MockServletOutputStream()

Method Details

close

public void close()
            throws IOException

getContents

public String getContents()

setExpectedCloseCalls

public void setExpectedCloseCalls(int closeCall)

setExpectingWriteCalls

public void setExpectingWriteCalls(boolean expectingWriteCall)

setThrowIOException

public void setThrowIOException(boolean throwException)

setupClearContents

public void setupClearContents()

toString

public String toString()

verify

public void verify()

write

public void write(int b)
            throws IOException

Copyright © 2002 Mock Objects. All Rights Reserved.